edge badge
Methods
T
Instance Public methods
type()
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 242
def type; :time end
type_cast(value)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 244
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