5. Movies II, Step 3


#1

I've been working on this step for 3 hrs. The code pictured is successful for Step 3, but I don't understand why the code is the way it is:

1.) What is the difference between <% movies %> & <% @actors.each do |actor| %> ? Why did I have to code them differently and when do I use these two different syntax.

2.) Why is the movie info syntax <%= @movie... %> & the actor info syntax <%= actor... %> ?

3.) What is the difference between "@movies" & "@movie" ?


#2

you have to do that because the computer wont understand what your saying :sweat_smile: :grinning: