@ALPHA BLUE, Are you sure, it seems gon only allows for importing ruby/rails variables into Javascript, and not the other way around?
Thanks again On Sat, Mar 3, 2012 at 11:43 AM, Abram <funkdif...@gmail.com> wrote: > Thanks guys > > > On Fri, Mar 2, 2012 at 9:50 AM, Alpha Blue <li...@ruby-forum.com> wrote: > >> You can do that with the Gon gem. >> >> https://github.com/gazay/gon >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> -- >> 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 rubyonrails-talk@googlegroups.com. >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.