Use ruby methods in javascript without ajax
Posted
by nijikunai
on Stack Overflow
See other posts from Stack Overflow
or by nijikunai
Published on 2010-05-05T05:29:23Z
Indexed on
2010/05/05
5:38 UTC
Read the original article
Hit count: 198
ruby
|JavaScript
Hi everyone! Is it possible to call a ruby method inside javascript? One way of implementing it is via ajax calls, but is there a way I can embed that ruby function inside the js file and call it just like calling any other js function?
© Stack Overflow or respective owner