A message board application where people can contribute to various topics.
At each step, the application must be deployed on Heroku
Create a message (thread).
Anyone can post a message. A new message requires the following fields
No field can be left empty.
Hints: Scaffolding and validation.
Comment on a message
Anyone can comment on a message. To place a comment the following fields are required
Question: What is the relationship between a message and comment.
Hint: Active Record Associations
Each time a new thread is created, the URL must be pretty:
If I create a new thread with the subject of 'World Wide Web' I expect the URL to look like:
The subject has being slugged. The slug should be stored in the same row as the message itself.
Ensure that if I create another message with same subject, a different slug is create.
Hint: Unique validation rule