Module: ActiveRecord::ConnectionAdapters::MysqlSpatialAdapter

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

Overview

The MysqlSpatial adapter

Defined Under Namespace

Classes: MainAdapter, SpatialColumn

Constant Summary collapse

ADAPTER_NAME =

The name returned by the adapter_name method of this adapter.

'MysqlSpatial'.freeze
VERSION_STRING =

Current version of MysqlSpatialAdapter as a frozen string

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

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

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