class ActiveModel::Attribute::FromUser

:nodoc:

def came_from_user?

def came_from_user?
  !type.value_constructed_by_mass_assignment?(value_before_type_cast)
end

def type_cast(value)

:nodoc:
def type_cast(value)
  type.cast(value)
end