Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.556 kb
# Load modules and classes needed to automatically mix in ActiveRecord and
# ActionController helpers. All other functionality must be explicitly
# required.
require 'geo_kit/defaults'
require 'geo_kit/mappable'
require 'geo_kit/acts_as_mappable'
require 'geo_kit/ip_geocode_lookup'
# Automatically mix in distance finder support into ActiveRecord classes.
ActiveRecord::Base.send :include, GeoKit::ActsAsMappable
# Automatically mix in ip geocoding helpers into ActionController classes.
ActionController::Base.send :include, GeoKit::IpGeocodeLookup
Jump to Line
Something went wrong with that request. Please try again.