instance method
merge!
Ruby on Rails 5.0.7.2
Since v5.0.7.2Signature
merge!(other_hash)
Returns current ActionController::Parameters instance which other_hash merges into current hash.
Parameters
-
other_hashreq
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 738
def merge!(other_hash)
@parameters.merge!(other_hash.to_h)
self
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 738
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters