I am new to ruby this might be something which is obvious.
I am trying to call my addmarker() function which can add a marker to my
Google map.
In my js.erb i tried to include the function call within the <script> tags,
but the function addmarker() is not being called.

Has anyone faced a similar problem ?

I am trying to avoid using a gem for my case.

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 9, '12 at 1:31p
activeMar 9, '12 at 1:31p
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Aswani521: 1 post

People

Translate

site design / logo © 2022 Grokbase