method
read_value
read_value()
public
Hide source
# File activerecord/lib/active_record/attribute_assignment.rb, line 126 def read_value return if values.values.compact.empty? @cast_type = object.type_for_attribute(name) klass = cast_type.klass if klass == Time read_time elsif klass == Date read_date else read_other end end