Skip to content

Commit f1f8660

Browse files
committed
Fix new method name in DatabaseConfig#config deprecation message
1 parent 63be846 commit f1f8660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/database_configurations/hash_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def initialize(env_name, name, configuration_hash)
3333
end
3434

3535
def config
36-
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")
36+
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")
3737
configuration_hash.stringify_keys
3838
end
3939

0 commit comments

Comments
 (0)