method

deep_transform_keys

rails latest stable - Class: ActionController::Parameters
deep_transform_keys(&block)
public

Returns a new +ActionController::Parameters+ instance with the results of running block once for every key. This includes the keys from the root hash and from all nested hashes and arrays. The values are unchanged.