module FilterParameters
Ruby on Rails 7.0.10
Since v3.0.20Allows you to specify sensitive query string and POST parameters to filter from the request log.
# Replaces values with "[FILTERED]" for keys that match /foo|bar/i. env["action_dispatch.parameter_filter"] = [:foo, "bar"]
For more information about filter behavior, see ActiveSupport::ParameterFilter.
Constants
Methods (defined here)
- # filtered_env
- # filtered_parameters
- # filtered_path
- self. new