Method: ActionController::StrongParameters#params
- Defined in:
- lib/action_controller/metal/strong_parameters.rb
#params ⇒ Object
Returns a new ActionController::Parameters object that has been instantiated with the request.parameters.
658 659 660 |
# File 'lib/action_controller/metal/strong_parameters.rb', line 658 def params @_params ||= Parameters.new(request.parameters) end |