Source: show | on GitHub
# File actionpack/lib/action_dispatch/http/parameter_filter.rb, line 5 def initialize(filters) @filters = filters end
# File actionpack/lib/action_dispatch/http/parameter_filter.rb, line 9 def filter(params) if enabled? compiled_filter.call(params) else params.dup end end