I’m sure I’m missing something stupid, but any help provided would be much appreciated.
To do: Loop through movies and display each one with this HTML
movie image goes here
<h3> movie title goes here </h3>
<p> movie release year goes here </p>
<% @movies.each do |m| %>
<%= image_tag m.image %>
<h3><%= m.title %></h3>
<p><%= m.release_year %></p>
<% end %>
@scriptace42185 Your code looks fine to me. Mine is similar, except that I’m also displaying the plot and edit link - maybe the instructions have changed since I did the course, since I’m not seeing a mention of those now.
Does changing m (and references to it) to movies work? I know that sometimes Codecademy is sometimes a little unnecessarily finicky about what you use for variable names.
@cherye It’s best if you create your own topic asking for help, so this one doesn’t get cluttered up with multiple questions from different people all in one topic.
@cherye That’s a permissions thing set on new users, waiting another day will get you around the restrictions while they’re in place. It looks like you’ve moved up to the next trust level now though, so you shouldn’t have to worry about that anymore