rgeo/activerecord-postgis-adapter — pull request #125 by teeparham (2014-06-09 17:26:24+00:00)
Title: Do not query database for non-spatial tables

This PR avoids unnecessary SQL queries of `geometry_columns` for tables that do not have any spatial columns.

Fix #71

* Add a private SpatialColumnInfo class to manage the spatial column
info query and memoization.
* Add mocha to test expectations.