Module: ActiveUUID::Patches::TypeMapOverride

Defined in:
lib/activeuuid/patches.rb

Instance Method Summary collapse

Instance Method Details

#initialize_type_map(m) ⇒ Object



178
179
180
181
182
# File 'lib/activeuuid/patches.rb', line 178

def initialize_type_map(m)
  super

  register_class_with_limit m, /binary\(16(,0)?\)/i, ::ActiveRecord::Type::UUID
end