instance method
debug_params
Ruby on Rails 5.2.8.1
Since v5.2.8.1 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 18
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, "".dup, 200)
end
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions::DebugView