Namespace
Methods
A
R
Constants
TYPES = {}
 
Class Public methods
alias_type(new, old)
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 392
def self.alias_type(new, old)
  TYPES[new] = TYPES[old]
end
register_type(type_id, type)

Register an MySQL type_id with a typecasting object in type.

# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 388
def self.register_type(type_id, type)
  TYPES[type_id] = type
end