lib/geocoder/railtie.rb in geocoder-1.1.9 vs lib/geocoder/railtie.rb in geocoder-1.2.0
- old
+ new
@@ -1,6 +1,5 @@
-require 'geocoder'
require 'geocoder/models/active_record'
module Geocoder
if defined? Rails::Railtie
require 'rails'
@@ -10,9 +9,10 @@
Geocoder::Railtie.insert
end
end
rake_tasks do
load "tasks/geocoder.rake"
+ load "tasks/maxmind.rake"
end
end
end
class Railtie