instance method
deep_merge
Ruby on Rails 8.0.4
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 168
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 168
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters