I have an application that gathers information about two different users.
Is there a way in rails to make one form to gather information for two users?
Rails 3, OsX10.6, Ruby 1.9.2
Thank you in advance.
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.
Yes, you can do this but you should use
form_tagandfields_forinstead. See episodes 165, 196, 197, and 198 of Railscasts for more info. Those screencasts are for Rails 2, but they can be adopted to work with Rails 3.