Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Time
- Inherits:
-
Type
- Object
- Type
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Time
show all
- Defined in:
- lib/active_record/connection_adapters/postgresql/oid.rb
Instance Method Summary
collapse
Methods inherited from Type
#type, #type_cast_for_write
Instance Method Details
#type_cast(value) ⇒ Object
206
207
208
209
210
211
212
|
# File 'lib/active_record/connection_adapters/postgresql/oid.rb', line 206
def type_cast(value)
return if value.nil?
ConnectionAdapters::Column.string_to_dummy_time value
end
|