instance method debug_params

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.2.8.1

Available in: v5.0.7.2 v5.1.7 v5.2.8.1

Signature

debug_params(params)

No documentation comment.

Parameters

params req
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 16
      def debug_params(params)
        clean_params = params.clone
        clean_params.delete("action")
        clean_params.delete("controller")

        if clean_params.empty?
          'None'
        else
          PP.pp(clean_params, "", 200)
        end
      end

Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 16 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::DebugExceptions::DebugView

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close