hey @zystvan
I seem to struggle through this question Still. for example in the following code, why while creating image for movie we use “@” ; however, in the case of creating image for actor we don’t!
Thanks in advance!
<div class="main movie-show">
<div class="container">
<div class="movie">
<!-- Display the movie's info here -->
<div class="info">
<%= image_tag @movie.image %>
<h3 class="movie-title"><%= @movie.title %></h3>
<p class="movie-release-year"><%= @movie.release_year %></p>
<p class="movie-plot"><%= @movie.plot %></p>
</div>
</div>
<h2>Cast</h2>
<% @actors.each do |actor| %>
<div class="actor">
<%= image_tag actor.image %>
<h3 class="actor-name"><%= actor.first_name %> <%= actor.last_name %></h3>
<p class="actor-bio"><%= actor.bio %></p>
</div>
<% end %>
</div>
</div>