class ActionController::Parameters
def ==(other)
Returns true if another +Parameters+ object contains the same content and
def ==(other) if other.respond_to?(:permitted?) permitted? == other.permitted? && parameters == other.parameters else @parameters == other end end