Methods
N
T
Attributes
[R] delim
[R] subtype
Class Public methods
new(delim, subtype)

delimcorresponds to the `typdelim` column in the pg_types table. subtypeis derived from the `typelem` column in the pg_types table.

# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 69
def initialize(delim, subtype)
  @delim   = delim
  @subtype = subtype
end
Instance Public methods
type_cast(value)

FIXME: this should probably split on delimand use subtypeto cast the values. Unfortunately, the current Rails behavior is to just return the string.

# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 77
def type_cast(value)
  value
end