Permalink
Browse files

Improvement: Remove 2nd parameter from MultiGeocoder (not needed)

  • Loading branch information...
1 parent 2df4d14 commit 50e9cd67795946116d543130d77f6aa69112ca1a @dreamcat4 dreamcat4 committed May 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/geokit-rails/acts_as_mappable.rb
View
2 lib/geokit-rails/acts_as_mappable.rb
@@ -369,7 +369,7 @@ def extract_bounds_from_options(options)
# Geocode IP address.
def geocode_ip_address(origin)
- geo_location = Geokit::Geocoders::MultiGeocoder.do_geocode(origin, true)
+ geo_location = Geokit::Geocoders::MultiGeocoder.geocode(origin)
return geo_location if geo_location.success
raise Geokit::Geocoders::GeocodeError
end

0 comments on commit 50e9cd6

Please sign in to comment.