module ActionController::StrongParameters
def params
Returns a new ActionController::Parameters object that
def params @_params ||= begin context = { controller: self.class.name, action: action_name, request: request, params: request.filtered_parameters } Parameters.new(request.parameters, context) end end