class ActiveModel::Type::Value
def serialize(value)
+String+, +Numeric+, +Date+, +Time+, +Symbol+, +true+, +false+, or
to understand. The returned value from this method should be a
Casts a value from the ruby type to a type that the database knows how
def serialize(value) value end