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

delim corresponds to the `typdelim` column in the pg_types table. subtype is derived from the `typelem` column in the pg_types table.

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

FIXME: this should probably split on delim and use subtype to 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 73
def type_cast(value)
  value
end