Skip to content

Commit 638fdcb

Browse files
authored
MONGOID-5698 no need to specify patch version in the docs (#5749)
* MONGOID-5698 no need to specify patch version in the docs * getting started doesn't need to reference a mongoid version honestly, neither does installation.txt
1 parent 33190e6 commit 638fdcb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/installation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To install the gem with bundler, include the following in your ``Gemfile``:
2727

2828
.. code-block:: ruby
2929

30-
gem 'mongoid', '~> 9.0.0'
30+
gem 'mongoid'
3131

3232
Using Mongoid with a New Rails Application
3333
==========================================

source/tutorials/getting-started-rails6.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ In order to do so, the first step is to install the ``rails`` gem:
4444

4545
.. code-block:: sh
4646

47-
gem install rails -v '~> 6.0.0'
47+
gem install rails -v '~> 6.0'
4848

4949

5050
Create New Application
@@ -107,7 +107,7 @@ Add Mongoid
107107
.. code-block:: ruby
108108
:caption: Gemfile
109109

110-
gem 'mongoid', '~> 7.0.5'
110+
gem 'mongoid'
111111

112112
.. note::
113113

@@ -125,7 +125,7 @@ Add Mongoid
125125

126126
bin/rails g mongoid:config
127127

128-
This generator will create the ``config/mongoid.yml`` configuration file
128+
This generator will create the ``config/mongoid.yml`` configuration file
129129
(used to configure the connection to the MongoDB deployment) and the
130130
``config/initializers/mongoid.rb`` initializer file (which may be used for
131131
other Mongoid-related configuration). Note that as we are not using
@@ -378,7 +378,7 @@ mentioned in ``Gemfile``, and add ``mongoid``:
378378
.. code-block:: ruby
379379
:caption: Gemfile
380380

381-
gem 'mongoid', '~> 7.0.5'
381+
gem 'mongoid'
382382

383383
.. note::
384384

@@ -466,7 +466,7 @@ Generate the default Mongoid configuration:
466466

467467
bin/rails g mongoid:config
468468

469-
This generator will create the ``config/mongoid.yml`` configuration file
469+
This generator will create the ``config/mongoid.yml`` configuration file
470470
(used to configure the connection to the MongoDB deployment) and the
471471
``config/initializers/mongoid.rb`` initializer file (which may be used for
472472
other Mongoid-related configuration). In general, it is recommended to use

0 commit comments

Comments
 (0)