instance method
trace_to_show
Ruby on Rails 6.0.6
Since v6.0.6Signature
trace_to_show()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 120
def trace_to_show
if traces["Application Trace"].empty? && rescue_template != "routing_error"
"Full Trace"
else
"Application Trace"
end
end
Defined in actionpack/lib/action_dispatch/middleware/exception_wrapper.rb line 120
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ExceptionWrapper