Sha256: b0aa8b65560a252a209fa839cbb80a01c1898a7d0b20642c7430d87de8da2cce
Contents?: true
Size: 424 Bytes
Versions: 37
Compression:
Stored size: 424 Bytes
Contents
module PostGISTypes def initialize_type_map(mapping) super register_class_with_limit mapping, 'geometry', ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::SpecializedString register_class_with_limit mapping, 'geography', ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::SpecializedString end end ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.class_eval do prepend PostGISTypes end
Version data entries
37 entries across 37 versions & 1 rubygems