instance method
filtered_parameters
Ruby on Rails 8.1.2
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 35
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 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::FilterParameters