instance method
debug_params
Ruby on Rails 5.1.7
Since v5.0.7.2 Last seen in v5.2.8.1Signature
debug_params(params)
No documentation comment.
Parameters
-
paramsreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 16
def debug_params(params)
clean_params = params.clone
clean_params.delete("action")
clean_params.delete("controller")
if clean_params.empty?
"None"
else
PP.pp(clean_params, "", 200)
end
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions::DebugView