Sha256: f62f009aeb52e05f6a8f0b889002fe5cf4415c6a3f15593a28e4bd59c1781efc
Contents?: true
Size: 1.88 KB
Versions: 1
Compression:
Stored size: 1.88 KB
Contents
# frozen_string_literal: true require 'rgeo' require_relative 'active_record_mysql_spatial/active_record/column_methods' require_relative 'active_record_mysql_spatial/active_record/mysql/geometrycollection' require_relative 'active_record_mysql_spatial/active_record/mysql/linestring' require_relative 'active_record_mysql_spatial/active_record/mysql/multilinestring' require_relative 'active_record_mysql_spatial/active_record/mysql/multipoint' require_relative 'active_record_mysql_spatial/active_record/mysql/multipolygon' require_relative 'active_record_mysql_spatial/active_record/mysql/point' require_relative 'active_record_mysql_spatial/active_record/mysql/polygon' require_relative 'active_record_mysql_spatial/active_record/native_types' require_relative 'active_record_mysql_spatial/active_record/quoting' require_relative 'active_record_mysql_spatial/active_record/register_types' require_relative 'active_record_mysql_spatial/acts_as_spatial' require_relative 'active_record_mysql_spatial/geometry' require_relative 'active_record_mysql_spatial/version' module ActiveRecordMysqlSpatial class Error < StandardError; end class Railtie < Rails::Railtie initializer 'active_record.override_mysql_spatial' do ::ActiveSupport.on_load(:active_record) do ::ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter.include ActiveRecordMysqlSpatial::ActiveRecord::Quoting ::ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter.include ActiveRecordMysqlSpatial::ActiveRecord::NativeTypes ::ActiveRecord::ConnectionAdapters::Mysql2Adapter.include ActiveRecordMysqlSpatial::ActiveRecord::RegisterTypes ::ActiveRecord::ConnectionAdapters::MySQL::Table.include ActiveRecordMysqlSpatial::ActiveRecord::ColumnMethods ::ActiveRecord::ConnectionAdapters::MySQL::TableDefinition.include ActiveRecordMysqlSpatial::ActiveRecord::ColumnMethods end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_record_mysql_spatial-0.3.0 | lib/active_record_mysql_spatial.rb |