Displaying 1 result from an estimated 1 matches for "textfieldname".
2006 Aug 09
3
How to capture the data entered in a web page in RoR
Hi, iam a newbie to rails , i wanna know how can i capture data entered
in a web page by a user
For example, to obtain the data entered in a text field in a JSP in
Java we write request.getParameter("textfieldname")
similarly for any form element, we use this method to get the entered
data in the web page
Like wise what is the code in Ruby to capture this ? and where should i
write this code ? Is it in model or in controller?
i am aware that ruby automatically maps the form element names with that...