dazuma/activerecord-postgis-adapter — pull request #96 by daveheitzman (2013-12-31 17:41:41+00:00)
Title: Rails 4

Rails 4.1.0.beta1
PostGis 1.5

issue:
when instantiating an active record object, ActiveRecord tries to create a plain old ConnectionAdapters::PostgreSQLColumn, rather than a SpatialColumn.

Since ConnectionAdapters::PostgreSQLColumn lacks the method :spatial? , it fails.

this small hack fixes the problem for me.

It would seem the plan would be for ActiveRecord to create a spatial column when necessary. In any case case, it seems :spatial? should not live in the class called Spatial

sorry if I'm misunderstanding the plan here; I'm not very familiar with this codebase.