5. Create messages, Exercise 6


#1

Please, explain me
What is it form_for? Where should I use it?


#2

Hi @motruni4,

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?


#3

#4

I fixed. My mistake was that I added form to index.html.erb instead new.html.erb file


#5

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.