instance method
deep_merge
Ruby on Rails 7.1.6
Since v7.1.6Signature
deep_merge(other_hash, &block)
Returns a new ActionController::Parameters instance with self and other_hash merged recursively.
Like with Hash#merge in the standard library, a block can be provided to merge values.
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 148
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 148
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters