method

debug_hash

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: DebugView
debug_hash(object) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/debug_view.rb, line 47
    def debug_hash(object)
      object.to_hash.sort_by { |k, _| k.to_s }.map { |k, v| "#{k}: #{v.inspect rescue $!.message}" }.join("\n")
    end
Register or log in to add new notes.