Sha256: 0d35009051052e8e2eb9556448200e38b938bc7aa6811088c7ae0c39ed0f04be
Contents?: true
Size: 366 Bytes
Versions: 13
Compression:
Stored size: 366 Bytes
Contents
require 'active_record/connection_adapters/abstract_adapter' ActiveRecord::ConnectionAdapters::IndexDefinition.class_eval do attr_accessor :spatial alias_method :initialize_without_spatial, :initialize def initialize(table, name, unique, columns, spatial = false) initialize_without_spatial(table, name, unique, columns) @spatial = spatial end end
Version data entries
13 entries across 13 versions & 3 rubygems