module Armg::AbstractMysqlAdapterExt
Public Instance Methods
indexes(*args, &block)
click to toggle source
Calls superclass method
# File lib/armg/abstract_mysql_adapter_ext.rb, line 10 def indexes(*args, &block) is = super is.each do |i| i.lengths = nil if i.type == :spatial && i.respond_to?(:lengths=) end is end
initialize_type_map(m = type_map)
click to toggle source
Calls superclass method
# File lib/armg/abstract_mysql_adapter_ext.rb, line 5 def initialize_type_map(m = type_map) super m.register_type(/^geometry/i, Armg::MysqlGeometry.new) end