public
Description: A Rails plugin that makes your applications geo-aware.
Homepage: http://graticule.rubyforge.org/plugin.html
Clone URL: git://github.com/collectiveidea/acts_as_geocodable.git
Click here to lend your support to: acts_as_geocodable and make a donation at www.pledgie.com !
brandon (author)
Sun May 24 21:31:35 -0700 2009
commit  0b1d83aa7a402c451ff880acaaae23ec00b0e1f8
tree    9b50b051fa73cdc2420439cb6e3003011ba5227b
parent  c22b193db1b003c1bd446892d46fe8d1207c614b
acts_as_geocodable / init.rb
100644 9 lines (8 sloc) 0.279 kb
1
2
3
4
5
6
7
8
9
begin
  require 'graticule'
rescue LoadError
  raise "Graticule >= 0.2.0 is required for acts_as_geocodable"
end
require 'acts_as_geocodable'
 
ActiveRecord::Base.send :include, CollectiveIdea::Acts::Geocodable
ActionController::Base.send :include, CollectiveIdea::RemoteLocation