Module: ActiveRecord::ConnectionAdapters::Mysql2SpatialAdapter

Defined in:
lib/active_record/connection_adapters/mysql2spatial_adapter.rb,
lib/active_record/connection_adapters/mysql2spatial_adapter/version.rb,
lib/active_record/connection_adapters/mysql2spatial_adapter/main_adapter.rb,
lib/active_record/connection_adapters/mysql2spatial_adapter/column_methods.rb,
lib/active_record/connection_adapters/mysql2spatial_adapter/spatial_column.rb

Overview

The Mysql2Spatial adapter

Defined Under Namespace

Modules: ColumnMethods Classes: MainAdapter, SpatialColumn

Constant Summary collapse

ADAPTER_NAME =

The name returned by the adapter_name method of this adapter.

'Mysql2Spatial'.freeze
VERSION_STRING =

Current version of Mysql2SpatialAdapter as a frozen string

::File.read(::File.dirname(__FILE__)+'/../../../../Version').strip.freeze
VERSION =

Current version of Mysql2SpatialAdapter as a Versionomy object, if the Versionomy gem is available; otherwise equal to VERSION_STRING.

defined?(::Versionomy) ? ::Versionomy.parse(VERSION_STRING) : VERSION_STRING