You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
I need to connect to another database in one of my models, and that database doesn't have PostGIS installed. If I have spatial_adapter installed, I get an ERROR: relation "geometry_columns" does not exist. I think spatial_adapter should look for the table and silently disable itself if it doesn't exist.
The text was updated successfully, but these errors were encountered:
I've been pretty swamped with other things, and haven't gotten back to this fix. Due to the nature of the adapter, it's not a trivial thing to do. I would suggest looking into the RGeo gems which don't patch the standard "postgresql" adapter, but provide a new "postgis" adapter type, which would allow you to use the standard adapter for the second, non-spatial database. (Note, RGeo only works with Rails 3.)
I need to connect to another database in one of my models, and that database doesn't have PostGIS installed. If I have spatial_adapter installed, I get an ERROR: relation "geometry_columns" does not exist. I think spatial_adapter should look for the table and silently disable itself if it doesn't exist.
The text was updated successfully, but these errors were encountered: