Flowdock
method

type_cast

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Type
type_cast(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_methods/time_zone_conversion.rb, line 9
        def type_cast(value)
          value = @column.type_cast(value)
          value.acts_like?(:time) ? value.in_time_zone : value
        end
Register or log in to add new notes.