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
of the database columns names and save accordingly, but if i need to
display these values
before saving them in the database, how can i capture them in the
controller before the save method is called?
Thanks in Advance