edge badge
Methods
N
T
Attributes
[R] subtype
Class Public methods
new(subtype)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 127
def initialize(subtype)
  @subtype = subtype
end
Instance Public methods
type()
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 124
def type; @subtype.type end
type_cast(value)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 131
def type_cast(value)
  if ::String === value
    ConnectionAdapters::PostgreSQLColumn.string_to_array value, @subtype
  else
    value
  end
end