module ActionController::StrongParameters

def params

has been instantiated with the request.parameters.
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