dazuma/rgeo — Issue #22: RGeo::Error::UnsupportedOperation: Method Geometry#equals? not defined
Author: meanphil
Created: 2012-02-27 03:38:05+00:00
State: open

Setting a spatial column on a new Model works fine, but subsequent updates to that column fail in Rails with the exception:

RGeo::Error::UnsupportedOperation: Method Geometry#equals? not defined

I assume equals? should be defined in sub-classes of Feature::Geometry, but I can't find how/where to fix it.

See http://pastie.org/private/z9b0ofbmev3kffdfervzq

Is this a bug, or am I doing something wrong?

PostGIS 1.5/PostgreSQL 9.1/Rails 3.1.3