Flowdock
method

read_value

Importance_0
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: MultiparameterAttribute
read_value() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

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
Register or log in to add new notes.