Please, explain meWhat is it form_for? Where should I use it?
What is it form_for?
Exactly what it sounds like. It's a Rails helper that creates a form for something, in this case a message.
Where should I use it?
I'm not sure; could you post a link to the exercise so I can see the instructions?
I fixed. My mistake was that I added form to index.html.erb instead new.html.erb file
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.