Saving data lesson 4



Hope I'm doing this right this is my first post.

please help

I copied the code exactly as it shows when i run
it i get an error that says unknown attribute: content

ran bundle install and rake db:migrate still can't get past
the link is apps/views/messages/index.html.erb

<% @messages.each do |message| %>
<div class="message">
<p class="content"><%=
message.content %></p>
<p class="time"><%=
message.created_at %></p>
<% end %>


Hi @imhereforfun,

Could you please post a link to the exercise you're on?

Also, read this to see how to format your code so we can see it:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.