Fix new method name in DatabaseConfig#config deprecation message

This commit is contained in:
Eugene Kenny 2021-10-03 17:51:01 +01:00
parent 63be8461f0
commit f1f86603a9
1 changed files with 1 additions and 1 deletions

View File

@ -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