class ActionController::Parameters

def delete(key, &block)

returns the corresponding +ActionController::Parameters+ object.
+key+ and returns the result). This method is similar to #extract!, which
+key+ is not found, returns +nil+ (or, with optional code block, yields
Deletes a key-value pair from +Parameters+ and returns the value. If
def delete(key, &block)
  convert_value_to_parameters(@parameters.delete(key, &block))
end