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