Module: RGeo::ActiveRecord::GeoSchemaDumper
- Defined in:
- lib/rgeo/active_record/common_adapter_elements.rb
Overview
Hack schema dumper to output spatial index flag
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
97 98 99 100 101 102 |
# File 'lib/rgeo/active_record/common_adapter_elements.rb', line 97 def self.included(base) base.class_eval do alias_method :indexes_without_rgeo, :indexes alias_method :indexes, :indexes_with_rgeo end end |