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

Rails 4, acts_as_gmappable, undefined method error #395

Closed ulikimmich closed 10 years ago

ulikimmich commented 10 years ago

Hi, I'm a newbie to Gmaps4Rails and have been building a Google Map with Markers successfully. My next step is to show a sidebar of all markers that by clicking on each marker the info window on the map will be displayed. I followed the 'Marker" section in the Wiki but when inserting the acts_as_gmappable in my model I get a undefined function error.

Any ideas why?

Thanks.

Uli Kimmich

apneadiving commented 10 years ago

This method is deprecated in v2

Sent from my iPhone

On 12 nov. 2013, at 05:34, Uli Kimmich notifications@github.com wrote:

Hi, I'm a newbie to Gmaps4Rails and have been building a Google Map with Markers successfully. My next step is to show a sidebar of all markers that by clicking on each marker the info window on the map will be displayed. I followed the 'Marker" section in the Wiki but when inserting the acts_as_gmappable in my model I get a undefined function error.

Any ideas why?

Thanks.

Uli Kimmich

— Reply to this email directly or view it on GitHub.