instance method
params
Ruby on Rails 6.0.6
Since v4.0.13Signature
params()
Returns a new ActionController::Parameters object that has been instantiated with the request.parameters.
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 1098
def params
@_params ||= Parameters.new(request.parameters)
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 1098
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::StrongParameters