Where I miss code or wrong ? help me


#1

<div class="tag">
  <div class="container">
    <h2 class="tag-title"><% @tag.title %>  </h2>

    <div class="cards row">

      
      <% @destinations.each do |destination| %>
      <div class="card col-xs-4">
        <%= destination.image %>
        <h2><%= destination.name %> </h2>
        <p><%= destination.description %> </p>
         
      </div>
        <% end %>

this is my error message " In the view, did you display the tag's title?"


#3

From what I'm seeing, your <% @tag.title %> should be <%= @tag.title %> (notice the = before the @tag). That's the only thing I'm seeing though.