Skip to content

Commit

Permalink
Fix new method name in DatabaseConfig#config deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneius committed Oct 3, 2021
1 parent 63be846 commit f1f8660
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -33,7 +33,7 @@ def initialize(env_name, name, configuration_hash)
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

Expand Down

0 comments on commit f1f8660

Please sign in to comment.