Sha256: b1df06163fd4495317316552379bf1c6a982c188310372fbbe1bc1f2055a9082

Contents?: true

Size: 176 Bytes

Versions: 11

Compression:

Stored size: 176 Bytes

Contents

ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.tap do |klass|
  # Use identity which does no casting
  klass::OID.register_type('geography', klass::OID::Identity.new)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spatial_features-1.2.1 config/initializers/register_oids.rb
spatial_features-1.2.0 config/initializers/register_oids.rb
spatial_features-1.1.1 config/initializers/register_oids.rb
spatial_features-1.1.0 config/initializers/register_oids.rb
spatial_features-1.0.2 config/initializers/register_oids.rb
spatial_features-1.0.1 config/initializers/register_oids.rb
spatial_features-1.0.0 config/initializers/register_oids.rb
spatial_features-0.0.7 config/initializers/register_oids.rb
spatial_features-0.0.6 config/initializers/register_oids.rb
spatial_features-0.0.5 config/initializers/register_oids.rb
spatial_features-0.0.4 config/initializers/register_oids.rb