4 movies I,WHAT IS WRONG?

<div class="main">
  <div class="container">
  <h2>Popular Films</h2>

   <% @movies.each do |movie| %>
    <div class="movie">
     <%= image_tag movie.image %>
      <h3><%= movie.title %> </h3>
      <p><%= movie.releaseyear %> </p>
    </div>
    
      
  </div>
</div>

Not sure, but Iā€™m think it should be:

movie.release_year
3 Likes

You also forgot to end the loop with:

<% end %>
3 Likes