instance method debug_hash

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1

Signature

debug_hash(object)

No documentation comment.

Parameters

object req
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 38
      def debug_hash(object)
        object.to_hash.sort_by { |k, _| k.to_s }.map { |k, v| "#{k}: #{v.inspect rescue $!.message}" }.join("\n")
      end

Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 38 · 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