diff options
author | Abhay Nikam <nikam.abhay1@gmail.com> | 2019-02-15 00:33:36 +0530 |
---|---|---|
committer | Abhay Nikam <nikam.abhay1@gmail.com> | 2019-02-15 00:33:36 +0530 |
commit | 85efb7cfe6dba1430e63f244a801c3a4c6b87f41 (patch) | |
tree | 630b1e53cb1337429802cbacc9363242990009be /activerecord/lib/active_record/database_configurations.rb | |
parent | 5f7180676bd60b44566a24b293376d54ff5d0d94 (diff) | |
download | rails-85efb7cfe6dba1430e63f244a801c3a4c6b87f41.tar.gz rails-85efb7cfe6dba1430e63f244a801c3a4c6b87f41.tar.bz2 rails-85efb7cfe6dba1430e63f244a801c3a4c6b87f41.zip |
Minor changes to deprecation warning message after 35242
Diffstat (limited to 'activerecord/lib/active_record/database_configurations.rb')
-rw-r--r-- | activerecord/lib/active_record/database_configurations.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/database_configurations.rb b/activerecord/lib/active_record/database_configurations.rb index 9879b01d3a..a6c702cbbc 100644 --- a/activerecord/lib/active_record/database_configurations.rb +++ b/activerecord/lib/active_record/database_configurations.rb @@ -25,9 +25,9 @@ module ActiveRecord # # Options: # - # <tt>env_name:</tt> The environment name. Defaults to nil which will collect + # <tt>env_name:</tt> The environment name. Defaults to +nil+ which will collect # configs for all environments. - # <tt>spec_name:</tt> The specification name (ie primary, animals, etc.). Defaults + # <tt>spec_name:</tt> The specification name (i.e. primary, animals, etc.). Defaults # to +nil+. # <tt>include_replicas:</tt> Determines whether to include replicas in # the returned list. Most of the time we're only iterating over the write @@ -189,7 +189,7 @@ module ActiveRecord ActiveRecord::Base.configurations = new_configs else - raise NotImplementedError, "`ActiveRecord::Base.configurations` in Rails 6 now returns an object instead of a hash. The #{method} method is not supported. Please use `configs_for` or consult the documentation for supported methods." + raise NotImplementedError, "`ActiveRecord::Base.configurations` in Rails 6 now returns an object instead of a hash. The `#{method}` method is not supported. Please use `configs_for` or consult the documentation for supported methods." end end |