instance method
debug_headers
Ruby on Rails 5.0.7.2
Since v5.0.7.2 Last seen in v5.2.8.1Signature
debug_headers(headers)
No documentation comment.
Parameters
-
headersreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 28
def debug_headers(headers)
if headers.present?
headers.inspect.gsub(',', ",\n")
else
'None'
end
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 28
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions::DebugView