lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-6.4.0 vs lib/rails/generators/mongoid/config/templates/mongoid.yml in mongoid-6.4.1
- old
+ new
@@ -9,9 +9,13 @@
# Provides the hosts the default client can connect to. Must be an array
# of host:port pairs. (required)
hosts:
- localhost:27017
options:
+ # Note that all options listed below are Ruby driver client options (the mongo gem).
+ # Please refer to the driver documentation of the version of the mongo gem you are using
+ # for the most up-to-date list of options.
+ #
# Change the default write concern. (default = { w: 1 })
# write:
# w: 1
# Change the default read preference. Valid options for mode are: :secondary,