class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Date

def type; :datetime; end

def type; :datetime; end

def type_cast(value)

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