class ActionController::Parameters

def nested_attributes?

def nested_attributes?
  @parameters.any? { |k, v| Parameters.nested_attribute?(k, v) }
end