4 movies I,WHAT IS WRONG?


#1

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

#2

Not sure, but I'm think it should be:

movie.release_year

#3

You also forgot to end the loop with:

<% end %>