Forum: Ruby on Rails gmaps4rails "acts_as_gmappable" error

C7735276f1fc068a0a4e462354860ffa?d=identicon&s=25 venkata reddy (Guest)
on 2011-09-19 13:14
(Received via mailing list)
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 ?
8cb3198dadd214c00f4702532c47b0f0?d=identicon&s=25 Rajarshi (Guest)
on 2011-09-19 13:57
(Received via mailing list)
use geocoder
C7735276f1fc068a0a4e462354860ffa?d=identicon&s=25 venkata reddy (Guest)
on 2011-09-19 14:17
(Received via mailing list)
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
8cb3198dadd214c00f4702532c47b0f0?d=identicon&s=25 Rajarshi (Guest)
on 2011-09-19 14:19
(Received via mailing list)
Hi,
geocoder for google maps
https://github.com/alexreisner/geocoder
C7735276f1fc068a0a4e462354860ffa?d=identicon&s=25 venkata reddy (Guest)
on 2011-09-19 14:29
(Received via mailing list)
Ok fine,
then you please tell me what is the difference between geokit and
geocoder?
8cb3198dadd214c00f4702532c47b0f0?d=identicon&s=25 Rajarshi (Guest)
on 2011-09-20 06:17
(Received via mailing list)
What do u want to know ?
8cb3198dadd214c00f4702532c47b0f0?d=identicon&s=25 Rajarshi (Guest)
on 2011-09-20 06:21
(Received via mailing list)
I think u want to show gmap right
8cb3198dadd214c00f4702532c47b0f0?d=identicon&s=25 Rajarshi (Guest)
on 2011-09-20 06:23
(Received via mailing list)
8cb3198dadd214c00f4702532c47b0f0?d=identicon&s=25 Rajarshi (Guest)
on 2011-09-20 06:23
(Received via mailing list)
https://github.com/rorcraft/ym4r_gm

use it any prob let me know
C7735276f1fc068a0a4e462354860ffa?d=identicon&s=25 venkata reddy (Guest)
on 2011-09-20 07:41
(Received via mailing list)
gmaps4rails is good its working fine with rails3.0.10 and i am also
using geocoder. Now i am trying to use them together.
A39970d780c506b26e9a8b71eda13df2?d=identicon&s=25 Walter McGinnis (Guest)
on 2011-09-20 12:11
(Received via mailing list)
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.
A39970d780c506b26e9a8b71eda13df2?d=identicon&s=25 Walter McGinnis (Guest)
on 2011-09-20 21:05
(Received via mailing list)
Also, checkout http://stackoverflow.com/questions/tagged/gmaps4rails for
other gmaps4rails related questions.
843473dc1738adb0ef54d450243d8955?d=identicon&s=25 Caner C. (caner_c)
on 2013-10-02 12:59
843473dc1738adb0ef54d450243d8955?d=identicon&s=25 Caner C. (caner_c)
on 2013-10-02 12:59
843473dc1738adb0ef54d450243d8955?d=identicon&s=25 Caner C. (caner_c)
on 2013-10-02 12:59
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.