Sha256: fbae02cf34dd8cc3abe450ed8b316d8bcc8c413f9d12d1e3e816f7ba03791203

Contents?: true

Size: 282 Bytes

Versions: 27

Compression:

Stored size: 282 Bytes

Contents

class SpatialAdapterNotCompatibleError < StandardError
end

unless ActiveRecord::Base.connection.adapter_name == 'PostgreSQL'
  raise SpatialAdapterNotCompatibleError.
    new("Only PostgreSQL with PostGIS is supported by the postgis adapter plugin.")
end
require 'postgis_adapter'

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
postgis_adapter-0.3.0 rails/init.rb
postgis_adapter-0.2.3 rails/init.rb
postgis_adapter-0.5.1 rails/init.rb
postgis_adapter-0.3.5 rails/init.rb
postgis_adapter-0.3.4 rails/init.rb
postgis_adapter-0.1.8 rails/init.rb
postgis_adapter-0.2.1 rails/init.rb