How is possible to call a ruby program clicking a button on a web page? Thank you.
on 2009-06-09 18:44
on 2009-06-09 20:48
Mario Ruiz wrote: > How is possible to call a ruby program clicking a button on a web page? > > Thank you. Locally? Mhh make up a mime type, return a file with the needed info in it, and return it using that made up mime. FIrst time you try to open the file in your browser, it'll ask for the program to use to open it. There choose your ruby program. If you're talking about a ruby program on the server, well, make up a rails, rack, sinatra or whatever is appropriate.