mirror of https://github.com/rails/rails
Fix new method name in DatabaseConfig#config deprecation message
This commit is contained in:
parent
63be8461f0
commit
f1f86603a9
|
@ -33,7 +33,7 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
def config
|
||||
ActiveSupport::Deprecation.warn("DatabaseConfig#config will be removed in 7.0.0 in favor of DatabaseConfigurations#configuration_hash which returns a hash with symbol keys")
|
||||
ActiveSupport::Deprecation.warn("DatabaseConfig#config will be removed in 7.0.0 in favor of DatabaseConfig#configuration_hash which returns a hash with symbol keys")
|
||||
configuration_hash.stringify_keys
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue