Session 11: Exercises
model. Users have a
model. Comments have a
corresponding to the user who made the comment. Comments
Implement a page which lists all of the comments that have been made along with the name of the user who made the comment.
Create a form where someone can type in their name. When submitting, create a
object with the given name and store the ID of the user object on the
Create a method on
which allows retrieving the
Implement a form which takes in the body of a Comment and puts it in the database along with the ID of the current user.