James_Parsons Posted January 9, 2013 Share Posted January 9, 2013 This is the same exact question here in http://w3schools.invisionzone.com/index.php?showtopic=46321. I just want to know how to do it in ruby. I just want to know how to use POST to retrieve info form a textbox and write it to a file called info.txt. just so you don't have to run back and forth between pages here is the html: example.htm <!DOCTYPE html><html><head> <title>POST Example</title></head><body><form name="example" method="POST" action="TheRubyFile"> <input type="text" name="value" /> <input type="submit" name="submit" value="Submit It"/></form></body></html> Link to comment Share on other sites More sharing options...
saravanan Posted February 27, 2013 Share Posted February 27, 2013 hey This may help You. http://guides.rubyonrails.org/getting_started.html#what-is-rails Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now