]> projects.mako.cc - selectricity/blob - vendor/plugins/geokit/init.rb
Merge from jdong, XMLRPC changes and testcases
[selectricity] / vendor / plugins / geokit / init.rb
1 # Load modules and classes needed to automatically mix in ActiveRecord and 
2 # ActionController helpers.  All other functionality must be explicitly 
3 # required.
4 require 'geo_kit/defaults'
5 require 'geo_kit/mappable'
6 require 'geo_kit/acts_as_mappable'
7 require 'geo_kit/ip_geocode_lookup'
8
9 # Automatically mix in distance finder support into ActiveRecord classes.
10 ActiveRecord::Base.send :include, GeoKit::ActsAsMappable
11
12 # Automatically mix in ip geocoding helpers into ActionController classes.
13 ActionController::Base.send :include, GeoKit::IpGeocodeLookup

Benjamin Mako Hill || Want to submit a patch?