Sha256: 82ed489d17b35bedbdfce41c20883d5a69b42f4b1386ce03bb136b7121f4dcbe
Contents?: true
Size: 385 Bytes
Versions: 6
Compression:
Stored size: 385 Bytes
Contents
# 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) : Adapters::PostgresqlAdapter.new(config) end end end
Version data entries
6 entries across 6 versions & 1 rubygems