Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianna-chang-shopify committed Dec 18, 2023
1 parent 745992e commit c37d6bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activerecord/lib/active_record/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c37d6bd

Please sign in to comment.