And when would you decide to use one or the other? I am just learning rails so I know this is a pretty simple question, but it wasn’t clear from the API.
Share
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.
When you want to update or create a specific model, use form_for.
When you want to have a normal html form that you can pass options to that’s not backed by a model, use form_tag.