instance method
params
Ruby on Rails 5.0.7.2
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 1051
def params
@_params ||= Parameters.new(request.parameters)
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 1051
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::StrongParameters