active_record_nearest_neighbor 0.2.1
Adds scopes to your models to perform nearest neighbor queries with PostGIS and PostgreSQL. Also provides rake tasks for generating migrations to create geospatial tables or add geospatial columns and indexes to your existing tables.