5. Movies II 5/7

Hi, my name is Joaquin. I’m from Venezuela, a country of latinamerica. I like the plataform codeacademy , the learning is very nice. i’m writing for a problem present in my code and i want know if you can help me.

Hi @joacoavila,

Try adding <% end %> on line 24 to end your loop through @actors :slight_smile:

Thanks very much. you are a genius. now is other error
undefined method `image’ for nil:NilClass. I will do so.

1 Like

@joacoavila Ah, on line 19 you need to use a.image since there is no @actor variable :slight_smile:

Anything else, or are you getting passed now?