diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index e1ee214dc9..76364cea8f 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -65,7 +65,7 @@ module Rails end def merge_into(other) #:nodoc: - @operations.concat(@delete_operations).each do |operation, args, block| + (@operations + @delete_operations).each do |operation, args, block| other.send(operation, *args, &block) end