class ActionDispatch::DebugView

def params_valid?

def params_valid?
  @request.parameters
rescue ActionController::BadRequest
  false
end