RubyGems.org

This gem enables your model to query the database using the earthdistance extension. This should be much faster than using trigonometry functions over standart indexs.

installgem install activerecord-postgres-earthdistance
Authors

Diogo Biazus

13,277 total downloads 1,429 for this version
Owners

5e2a237dafbc45f79428fdda9c5024b1

Licenses

MIT

Gemfile
gem 'activerecord-postgres-earthdistance', '~> 0.3.2'
Versions
  1. 0.3.2 April 16, 2014 (13 KB)
  2. 0.3.1 December 7, 2013 (13 KB)
  3. 0.3.0 November 28, 2013 (13 KB)
  4. 0.2.0 February 7, 2013 (12 KB)
  5. 0.1.0 June 23, 2011 (98 KB)
Ruby Dependency
  1. >= 1.8.7