method

reject

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

Returns a new +ActionController::Parameters+ instance with items that the block evaluates to true removed.