Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change merge to merge!

  • Loading branch information...
commit bd674fd4e58387c331a7608bbfd48a690471c556 1 parent 8db99d3
@vipulnsward vipulnsward authored
View
2  activesupport/lib/active_support/callbacks.rb
@@ -315,7 +315,7 @@ def initialize(name, config)
@config = {
:terminator => "false",
:scope => [ :kind ]
- }.merge(config)
+ }.merge!(config)
end
def compile
View
2  activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -78,7 +78,7 @@ def self.new_from_hash_copying_default(hash)
end
def self.[](*args)
- new.merge(Hash[*args])
+ new.merge!(Hash[*args])
end
alias_method :regular_writer, :[]= unless method_defined?(:regular_writer)
Please sign in to comment.
Something went wrong with that request. Please try again.