spatial_adapter
spatial_adapter copied to clipboard
Spatial Adapter for ActiveRecord and Rails 2.x and 3.0.x - no longer in active development (try RGeo for Rails 3.1+)
The docs say that spatial_adapter supports ActiveRecord v2.2 and higher, but the spatial_adapter.gemspec also prohibits 3.1.0 and higher ('activerecord', '>= 2.2.2', '< 3.1.0'). I'll clone and modify the version to...
Back in the old days (before I was involved) the spatial_adapter was actually two plugins, one for PostgreSQL and one for MySQL. Then it was merged a while before I...
I have a fixture defined like so: ``` one: long_name: Long Name short_name: LN bounds: !ruby/object:Polygon rings: - !ruby/object:LinearRing points: - !ruby/object:Point {x: 0, y: 0} - !ruby/object:Point {x: 20,...
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"...
Version 0.2.0 removed the find_by_\* enhancements for spatial columns. The reason was that ActiveRecord::Base was being modified with database-specific SQL, which prevented one from using both MySQL and PostgreSQL at...