davekrupinski/mongoid-random — pull request #2 by jcytong (2014-08-25 20:03:24+00:00)
Title: Use geoNear to avoid making multiple calls to mongo

I found your gem doing a search and wanted to achieve the same results without making multiple calls to mongo. After some digging, I decided to map the random float to coordinates on a line in 2d space.

Feel free to give feedback as this is my first gem.