I want to check the form data received from the form in ruby on rails controller.
I tried this but nothing is shown:
@user.to_yaml
where @user is the form name(<%=form_for @user )
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
the data sent by a form is stored in the
paramshash (see this question for more information).also, in development, just put a
raisein your controller action to show an error page with all request parameters displayed.