module ActionController::StrongParameters

def params

has been instantiated with the request.parameters.
Returns a new ActionController::Parameters object that
def params
  @_params ||= Parameters.new(request.parameters)
end

def params=(value)

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