My plan is to have a ruby class with a variety of functions in it and I
want to be able to call functions from this class using AJAX. I think
the easiest way to do this then is to pass a cgi parameter named
function or soemthing with the value being the def I wish to call.
So something like this
// this contained in test.rb
from .js file
url = test.rb?action=test(‘help’);
anyway something like that and then in test.rb I want to have something
and hopefully it would return “help”. Please let me know if this is the
best way to do this and also if I am being unclear I am more than happy
I have tried something like the above technique and nothing is being
returned to the XmlObject.