Gmaps4rails "acts_as_gmappable" error

Hi all,
I started to see fun of gmaps4rails gem from
https://github.com/apneadiving/Google-Maps-for-Rails.
After everything done. When visited the locahost, i got the following
error.

undefined local variable or method `acts_as_gmappable’ for #<Class:
0x31a9da8>

the error is due to i have line “acts_as_gmappable” in my model.
Anybody knows how this is happening though i installed the gem
gmaps4rails ?

use geocoder

Hi,
geocoder for google maps
https://github.com/alexreisner/geocoder

Dear Rajarshi,
geocoder is for what?is it for displaying google
maps or for some geocoding purpose?
Anyway i solved the above error using gmaps4rails…Thank you

Ok fine,
then you please tell me what is the difference between geokit and
geocoder?

What do u want to know ?

I think u want to show gmap right

Please see
http://stackoverflow.com/questions/2557174/google-maps-api-with-rails-3-0

https://github.com/rorcraft/ym4r_gm

use it any prob let me know

The gmaps4rails author is more active on stackoverflow. You might try
asking your question there.

However, before you do, please read their guide on how to ask questions
effectively:

http://stackoverflow.com/questions/ask

There are good general tips on getting the most from asking technical
advice.

gmaps4rails is good its working fine with rails3.0.10 and i am also
using geocoder. Now i am trying to use them together.

can anyone help me on this??
http://stackoverflow.com/questions/17994840/gmaps4rails-map-doesnt-appear-fully-on-canvas-on-ajax-call

Also, checkout http://stackoverflow.com/questions/tagged/gmaps4rails for
other gmaps4rails related questions.

http://stackoverflow.com/questions/17994840/gmaps4rails-map-doesnt-appear-fully-on-canvas-on-ajax-call

http://stackoverflow.com/questions/17994840/gmaps4rails-map-doesnt-appear-fully-on-canvas-on-ajax-call
can anyone help me on this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs