Hello, I need the help of the noble knowledge holders. I'm studying Ruby on Rails through the Codecademy website. I got some things I learned there, and I tried to put it online at Heroku. Everything went right at the beginning, everything perfect. But suddenly, when trying to get on a specific page, it showed the following error:
Suchanerrorisnotshowninlocalhost.SoIdecidedtostartfromscratchanddeployeverysteptofindtheproblem.Theproblemwasthatanormalpagewithpurehtmlopensquietly,butonewithRuby(insidethefile)givesthisproblem.
Thefollowingcodeisgeneratingtheproblem(Ibelieve)
<%@messages.eachdo|message|%><divclass="message">
<p class="content"><%= message.content %></p>
<p class="time"><%= message.created_at %></p>
</div>
<% end %>
The link in case you want to check in personally is this:
link
There are 2 buttons, the "Messages!" Button. has the above excerpt in the code and shows the error. And the Test button has no and does not show error.
Would anyone like to spend some time to help me? It will be of great help. Thank you.
Update:
HomeThisisthecontrollerfortheproblempage.
Archiveinsidedb/migrate: