I am feeling really frustrated at the errors I keep encountering on the Ruby on Rails course. Currently, on exercise 5 I try to add the new action to the Messages controller
def new @message = Message.new end
However when I try to run this I get the following error message-
When you hover app/views/messages click on the three dots on the right side.
Choose New File and name it new.html.erb
Click run again and there you go
Just found out that when you’re in Associations I => 5. Show a tag, you will encounter the same ‘missing template error’.
Here you can use the same solutions as above(only need to replace new for show).