Saving data lesson 4

imhereforfun

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| %>


<%=
message.content %>


<%=
message.created_at %>

<% 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:

https://discuss.codecademy.com/t/how-do-i-format-code-in-my-posts/51139?u=zystvan

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