method

debug_params

rails latest stable - Class: ActionDispatch::DebugExceptions::DebugView

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

debug_params(params)
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 18
      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, "".dup, 200)
        end
      end