method

debug_params

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: DebugView
debug_params(params) 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 22
    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
Register or log in to add new notes.