Skip to content

Instantly share code, notes, and snippets.

@electronicbites
Created January 11, 2009 21:00
Show Gist options
  • Save electronicbites/45803 to your computer and use it in GitHub Desktop.
Save electronicbites/45803 to your computer and use it in GitHub Desktop.
def disable_geocoding
GeoKit::Geocoders::Geocoder.instance_eval do
def geocode(a)
res = GeoKit::GeoLoc.new
res.lat = 13.423007
res.lng = 52.534194
res.success = true
res
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment