apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Many undefined methods #400

Closed dooma closed 10 years ago

dooma commented 10 years ago

First of all, I tried with #places_for_address, and I got this error:

undefined method `places_for_address' for Gmaps4rails:Module

I thought that I need lat and long, so I changed the #places_for_address to #geocode and now:

undefined method `geocode' for Gmaps4rails:Module

I had a look over the source code, but I didn't see any methods like above. Are them obsolete?

apneadiving commented 10 years ago

yes, deprecated in v2, its explained in the wiki

dooma commented 10 years ago

Oh, yes. I didn't noticed the line that explains that geocoding is handled by geocoder. Thanks!