class ActionController::Parameters

def reject!(&block)

Removes items that the block evaluates to true and returns self.
def reject!(&block)
  @parameters.reject!(&block)
  self
end