I keep getting error: unknown attribute: title , even after re-running the code, even when tag.title part is already deleted.
Is there something wrong with my code?
<% @tags.each do |tag| %> <div class="card col-xs-4"> <%= image_tag tag.image %> <h2> <%= tag.title %> </h2> </div> <% end %>
I refreshed it and tried several ways but still get that error
4. In app/views/tags/index.html.erb at line 12, iterate through each tag in the @tags array. Then for each tag, display its title and image.
We've provided CSS in app/assets/stylesheets/application.css.