Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Time
- Defined in:
- lib/arjdbc/postgresql/base/oid.rb
Instance Method Summary collapse
Methods inherited from Type
Instance Method Details
#type ⇒ Object
250 |
# File 'lib/arjdbc/postgresql/base/oid.rb', line 250 def type; :time end |
#type_cast(value) ⇒ Object
252 253 254 255 256 257 258 |
# File 'lib/arjdbc/postgresql/base/oid.rb', line 252 def type_cast(value) return if value.nil? # FIXME: probably we can improve this since we know it is PG # specific ConnectionAdapters::Column.string_to_dummy_time value end |