On Aug 1, 2011, at 9:38 AM, Amit Bobade wrote:

Hi,

I am new to Ruby. I want to use Ruby in browser and integrate it with HTML. Could somebody help me to do so?
Please suggest me how to achieve this?

I want to use my code in call my Ruby script with the help of HTML code. Is it possible?

FYI: I am not using RAILS. I am using Ruby and Watir to automate the my web applications.

If you want to integrate Ruby code with an HTML interface, you basically have a couple of options: CGI and Rack (which is just a much more modern implementation of CGI, IMO). There were tons of examples of both on Google last time I checked. Either of these will provide you a way to map Web form inputs to the Ruby script's STDIN interface.

Walter

--
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to