I’m using ajax with ruby for my application, and need to send an
argument to the ruby script for further action. I couldnt do it using
the command line method, since the ruby script is being called from
If I do something like:
xmlHttp.open(“GET”,“ajaxhandler.rb” + myargument,true)
then the script fails.
The PHP way to handle such cases is to add “?argument=argumentvalue”
after the file name. And then within the PHP script you can further
parse the values.
Is there anything similar in Ruby ? Or is there any other fix to this