Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Date
- Defined in:
- lib/active_record/connection_adapters/postgresql/oid.rb
Instance Method Summary collapse
Instance Method Details
#type ⇒ Object
193 |
# File 'lib/active_record/connection_adapters/postgresql/oid.rb', line 193 def type; :datetime; end |
#type_cast(value) ⇒ Object
195 196 197 198 199 200 201 |
# File 'lib/active_record/connection_adapters/postgresql/oid.rb', line 195 def type_cast(value) return if value.nil? # FIXME: probably we can improve this since we know it is PG # specific ConnectionAdapters::Column.value_to_date value end |