I just released several updates to RGeo and related libraries, focusing on bug fixes and Rails 3.2 compatibility issues.
- rgeo 0.3.4 fixes a segfault under Ruby 1.8.7, and supports prepared geometries in the FFI-Geos factory.
- activerecord-postgis-adapter 0.4.1 fixes some Rails 3.2 compatibility issues.
- activerecord-mysql2spatial-adapter 0.4.2 also fixes some Rails 3.2 compatibility issues.
Just update your gems to get these fixes. Many thanks to those who reported issues and submitted patches on Github. They were very helpful.
I’m still investigating a couple of issues in the spatialite adapter. I hope to get those resolved in a few days.
One other note. I’m not using Rails 3.2 on my own projects yet. (In fact, for the most part I’m still on 3.0.x.) So there may still be regressions and compatibility issues on Rails 3.2 that I haven’t found yet. Please comment here or email me if you find anything.