Sha256: f676242c78dbdc6f60b5a1b09583b379e39d94344577eed2015274f489b1c116

Contents?: true

Size: 347 Bytes

Versions: 7

Compression:

Stored size: 347 Bytes

Contents

class SpatialAdapterNotCompatibleError < StandardError
end

unless ActiveRecord::Base.connection.adapter_name == 'PostgreSQL'
  raise SpatialAdapterNotCompatibleError.
    new("Database config file not set or it does not map to PostgreSQL\n" +
        "Only PostgreSQL with PostGIS is supported by postgis_adapter.")
end
require 'postgis_adapter'

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ppe-postgis-adapter-0.7.8 rails/init.rb
ppe-postgis-adapter-0.7.3 rails/init.rb
ppe-postgis-adapter-0.7.2 rails/init.rb
postgis_adapter-0.7.8 rails/init.rb
postgis_adapter-0.7.7 rails/init.rb
postgis_adapter-0.7.5 rails/init.rb
postgis_adapter-0.7.2 rails/init.rb