instance method deep_merge

Ruby on Rails 7.1.6

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close