edge badge
Methods
T
Instance Public methods
type()
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 45
def type; :string end
type_cast(value)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 47
def type_cast(value)
  if ::String === value
    ConnectionAdapters::PostgreSQLColumn.string_to_bit value
  else
    value
  end
end