class ActionController::Parameters

def select(&block)

items that the block evaluates to true.
Returns a new ActionController::Parameters instance with only
def select(&block)
  new_instance_with_inherited_permitted_status(@parameters.select(&block))
end