I need help with this
So far we’ve been loading messages from the database and displaying them in the view. How can we create new messages and save them to the database? Looking at the seven standard Rails actions, we need to use the new and create actions. Let’s set them up now.
In the routes file, create a route that maps requests to messages/new to the Message controller’s new action.