Skip to content

Commit

Permalink
MONGOID-5698 no need to specify patch version in the docs (#5749)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jamis authored Nov 16, 2023
1 parent 467cf48 commit 53496de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/installation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To install the gem with bundler, include the following in your ``Gemfile``:

.. code-block:: ruby

gem 'mongoid', '~> 9.0.0'
gem 'mongoid'

Using Mongoid with a New Rails Application
==========================================
Expand Down
10 changes: 5 additions & 5 deletions docs/tutorials/getting-started-rails6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ In order to do so, the first step is to install the ``rails`` gem:

.. code-block:: sh

gem install rails -v '~> 6.0.0'
gem install rails -v '~> 6.0'


Create New Application
Expand Down Expand Up @@ -107,7 +107,7 @@ Add Mongoid
.. code-block:: ruby
:caption: Gemfile

gem 'mongoid', '~> 7.0.5'
gem 'mongoid'

.. note::

Expand All @@ -125,7 +125,7 @@ Add Mongoid

bin/rails g mongoid:config

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

gem 'mongoid', '~> 7.0.5'
gem 'mongoid'

.. note::

Expand Down Expand Up @@ -466,7 +466,7 @@ Generate the default Mongoid configuration:

bin/rails g mongoid:config

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

0 comments on commit 53496de

Please sign in to comment.