Registry / database / activerecord-postgis-adapter

activerecord-postgis-adapter

JSON →
library11.1.1rbrubygemsunverified

ActiveRecord connection adapter for PostGIS, adding built-in support for spatial extensions using the RGeo library.

gem install activerecord-postgis-adapter
INSTALL
IMPORT
SIG · ACTIVERECORD-POSTG
A
activerecord-postgis-adapter
databaserubyv11.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActiveRecord::ConnectionAdapters::PostGISAdapter
require 'active_record/connection_adapters/postgis_adapter'

Establish a connection using the PostGIS adapter.

require 'active_record/connection_adapters/postgis_adapter' ActiveRecord::Base.establish_connection(adapter: 'postgis', database: 'my_db')
Debug
Known issues
gotchaRequires PostGIS extension to be installed in the PostgreSQL database.
fix
Ensure PostGIS is installed and enabled on your PostgreSQL server.
affects: >= 0
Upgrade
Version history
11.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
50 hits · last 30 days
node
42
OpenAI (training)
1
Resources