gmaps4rails "acts_as_gmappable" error

343 views
Skip to first unread message

venkata reddy

unread,
Sep 19, 2011, 7:12:43 AM9/19/11
to Ruby on Rails: Talk
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 ?

Rajarshi

unread,
Sep 19, 2011, 7:56:00 AM9/19/11
to rubyonra...@googlegroups.com
use geocoder


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


venkata reddy

unread,
Sep 19, 2011, 8:15:49 AM9/19/11
to Ruby on Rails: Talk
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

On Sep 19, 4:56 pm, Rajarshi <rdas2...@gmail.com> wrote:
> use geocoder
>

Rajarshi

unread,
Sep 19, 2011, 8:17:45 AM9/19/11
to rubyonra...@googlegroups.com
Hi,
geocoder for google maps
https://github.com/alexreisner/geocoder

venkata reddy

unread,
Sep 19, 2011, 8:27:43 AM9/19/11
to Ruby on Rails: Talk
Ok fine,
then you please tell me what is the difference between geokit and
geocoder?

On Sep 19, 5:17 pm, Rajarshi <rdas2...@gmail.com> wrote:
> Hi,
> geocoder for google mapshttps://github.com/alexreisner/geocoder

Rajarshi

unread,
Sep 20, 2011, 12:15:19 AM9/20/11
to rubyonra...@googlegroups.com
What do u want to know ?

Rajarshi

unread,
Sep 20, 2011, 12:15:50 AM9/20/11
to rubyonra...@googlegroups.com

I think u want to show gmap right

Rajarshi

unread,
Sep 20, 2011, 12:17:21 AM9/20/11
to rubyonra...@googlegroups.com

Rajarshi

unread,
Sep 20, 2011, 12:18:11 AM9/20/11
to rubyonra...@googlegroups.com

https://github.com/rorcraft/ym4r_gm

use it any prob let me know

venkata reddy

unread,
Sep 20, 2011, 1:39:35 AM9/20/11
to Ruby on Rails: Talk
gmaps4rails is good its working fine with rails3.0.10 and i am also
using geocoder. Now i am trying to use them together.

On Sep 20, 9:18 am, Rajarshi <rdas2...@gmail.com> wrote:
> https://github.com/rorcraft/ym4r_gm
>
> use it any prob let me know
>
>
>
>
>
>
>
> On Tue, Sep 20, 2011 at 9:47 AM, Rajarshi <rdas2...@gmail.com> wrote:
> > Please see
> >http://stackoverflow.com/questions/2557174/google-maps-api-with-rails...
>
> > On Tue, Sep 20, 2011 at 9:45 AM, Rajarshi <rdas2...@gmail.com> wrote:
>
> >> I think u want to show gmap right
>

Walter McGinnis

unread,
Sep 20, 2011, 6:12:29 AM9/20/11
to rubyonra...@googlegroups.com
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.

Walter McGinnis

unread,
Sep 20, 2011, 3:06:36 PM9/20/11
to rubyonra...@googlegroups.com
Also, checkout http://stackoverflow.com/questions/tagged/gmaps4rails for other gmaps4rails related questions.

Caner C.

unread,
Oct 2, 2013, 6:59:38 AM10/2/13
to rubyonra...@googlegroups.com

Caner C.

unread,
Oct 2, 2013, 6:59:52 AM10/2/13
to rubyonra...@googlegroups.com

Caner C.

unread,
Oct 2, 2013, 6:59:21 AM10/2/13
to rubyonra...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages