views:

33

answers:

2

I'm looking for a working gem/plugin for rails3 that does IP geocoding, and ideally, distance calculations. geokit seems to be a popular choice, but it doesn't support rails3 yet.

A: 

Have you tried Georuby ?

Shreyas Satish
I haven't tried it, but the docs use the rails2 plugin functionality. It might *work*, but I don't think it's advertised as such.
BBonifield
A: 

There is a non-gem/plugin alternative mentioned in this blog: http://blog.nicolasblanco.fr/2010/09/29/quick-and-simple-geocoding/

Tim
The Google Maps API doesn't allow for IP geocoding unfortunately. It will only geocode addresses.
BBonifield