instance method
filtered_parameters
Ruby on Rails 7.2.3
Since v3.0.20Signature
filtered_parameters()
Returns a hash of parameters with all sensitive data replaced.
Source
# File actionpack/lib/action_dispatch/http/filter_parameters.rb, line 33
def filtered_parameters
@filtered_parameters ||= parameter_filter.filter(parameters)
rescue ActionDispatch::Http::Parameters::ParseError
@filtered_parameters = {}
end
Defined in actionpack/lib/action_dispatch/http/filter_parameters.rb line 33
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::FilterParameters