active_record_nearest_neighbor 0.1.8
Active Record Nearest Neighbor adds scopes to your models to perform nearest neighbor queries with PostGIS and PostgreSQL. The plugin also provides rake tasks for generating migrations to create geospatial tables add/or geospatial columns and indexes to your existing tables.