diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index eb97996977f44..1cf54439fa06a 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -257,6 +257,7 @@ class Railtie < Rails::Railtie # :nodoc: config.after_initialize do configs.each do |k, v| + puts "SETTING #{k}=#{v} FOR ACTIVE RECORD!)" if k == :migration_strategy next if k == :encryption setter = "#{k}=" if ActiveRecord.respond_to?(setter) @@ -285,6 +286,7 @@ class Railtie < Rails::Railtie # :nodoc: ) configs.each do |k, v| + puts "SETTING #{k}=#{v} FOR ACTIVE RECORD!)" if k == :migration_strategy next if k == :encryption setter = "#{k}=" # Some existing initializers might rely on Active Record configuration