method

deep_merge

rails latest stable - Class: ActionController::Parameters
deep_merge
public

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.