Sha256: fc3988d5af1c22a4b57468a9d88e2685b80e3f339fe00db3a988731a29c1dc8f
Contents?: true
Size: 384 Bytes
Versions: 7
Compression:
Stored size: 384 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
7 entries across 7 versions & 1 rubygems