lib/activerecord-postgres-composite-types/active_record_3_2.rb
# Casts value (which is a String) to an appropriate instance.
Casts value (which is a String) to an appropriate instance.
Casts value ( which is a String ) to an appropriate instance .
def type_cast_with_composite_types(value)
        if (composite_type_klass = PostgreSQLAdapter.composite_type_classes[type])
          self.class.string_to_composite_type(composite_type_klass, value)
        else
          type_cast_without_composite_types(value)
        end
      end
def type_cast_with_composite_types ( value ) if ( composite_type_klass = PostgreSQLAdapter . composite_type_classes [ type ] ) self . class . string_to_composite_type ( composite_type_klass , value ) else type_cast_without_composite_types ( value ) end end
Casts value (which is a String) to an appropriate instance.
Casts value ( which is a String ) to an appropriate instance .
value