method

transform_keys

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

Returns a new +ActionController::Parameters+ instance with the results of running block once for every key. The values are unchanged.