instance method
process_action
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v4.2.9Signature
process_action(*args)
Performs parameters wrapping upon the request. Will be called automatically by the metal call stack.
Parameters
-
argsrest
Source
# File actionpack/lib/action_controller/metal/params_wrapper.rb, line 189
def process_action(*args)
if _wrapper_enabled?
wrapped_hash = _wrap_parameters request.request_parameters
wrapped_filtered_hash = _wrap_parameters request.filtered_parameters
# This will make the wrapped hash accessible from controller and view
request.parameters.merge! wrapped_hash
request.request_parameters.merge! wrapped_hash
# This will make the wrapped hash displayed in the log file
request.filtered_parameters.merge! wrapped_filtered_hash
end
super
end
Defined in actionpack/lib/action_controller/metal/params_wrapper.rb line 189
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::ParamsWrapper