Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Timestamp
- Inherits:
-
Type
- Object
- Type
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Timestamp
- Defined in:
- lib/active_record/connection_adapters/postgresql/oid.rb
Instance Method Summary collapse
Methods inherited from Type
Instance Method Details
#type ⇒ Object
182 |
# File 'lib/active_record/connection_adapters/postgresql/oid.rb', line 182 def type; :timestamp; end |
#type_cast(value) ⇒ Object
184 185 186 187 188 189 190 |
# File 'lib/active_record/connection_adapters/postgresql/oid.rb', line 184 def type_cast(value) return if value.nil? # FIXME: probably we can improve this since we know it is PG # specific ConnectionAdapters::PostgreSQLColumn.string_to_time value end |