From 53496de76600816476b367bd6a6172b28cd90979 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Thu, 16 Nov 2023 08:12:44 -0700 Subject: [PATCH] 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 --- docs/installation.txt | 2 +- docs/tutorials/getting-started-rails6.txt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/installation.txt b/docs/installation.txt index 0ce9cbb726..7247273d61 100644 --- a/docs/installation.txt +++ b/docs/installation.txt @@ -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 ========================================== diff --git a/docs/tutorials/getting-started-rails6.txt b/docs/tutorials/getting-started-rails6.txt index c071407baf..2a7da41025 100644 --- a/docs/tutorials/getting-started-rails6.txt +++ b/docs/tutorials/getting-started-rails6.txt @@ -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 @@ -107,7 +107,7 @@ Add Mongoid .. code-block:: ruby :caption: Gemfile - gem 'mongoid', '~> 7.0.5' + gem 'mongoid' .. note:: @@ -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 @@ -378,7 +378,7 @@ mentioned in ``Gemfile``, and add ``mongoid``: .. code-block:: ruby :caption: Gemfile - gem 'mongoid', '~> 7.0.5' + gem 'mongoid' .. note:: @@ -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