lib/apartment/adapters/postgis_adapter.rb in apartment-0.22.1 vs lib/apartment/adapters/postgis_adapter.rb in apartment-0.23.0
- old
+ new
@@ -1,10 +1,9 @@
# handle postgis adapter as if it were postgresql,
# only override the adapter_method used for initialization
require "apartment/adapters/postgresql_adapter"
module Apartment
-
module Database
def self.postgis_adapter(config)
Apartment.use_schemas ?
Adapters::PostgresqlSchemaAdapter.new(config) :