module ActionController::StrongParameters

def params

with the `request.parameters`.
Returns a new ActionController::Parameters object that has been instantiated
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

def params=(value)

with the given `value` hash.
will create an ActionController::Parameters object that has been instantiated
Assigns the given `value` to the `params` hash. If `value` is a Hash, this
def params=(value)
  @_params = value.is_a?(Hash) ? Parameters.new(value) : value
end