instance method debug_headers

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1

Signature

debug_headers(headers)

No documentation comment.

Parameters

headers req
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 30
      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 30 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::DebugExceptions::DebugView

Type at least 2 characters to search.

↑↓ navigate · open · esc close