Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::PostgreSQLColumn
- Defined in:
- lib/composite_primary_keys/connection_adapters/postgresql_adapter.rb
Instance Method Summary collapse
-
#type_cast(value) ⇒ Object
This overide is needed to ensure ActiveRecord::Dirty behaves as expected.
Instance Method Details
#type_cast(value) ⇒ Object
This overide is needed to ensure ActiveRecord::Dirty behaves as expected
5 6 7 8 |
# File 'lib/composite_primary_keys/connection_adapters/postgresql_adapter.rb', line 5 def type_cast(value) return value if value.kind_of?(Array) super end |