Finding the N nearest things to a point using Rails and PostGIS on Heroku