6.4 Show destination. Undefined method "each"


#1

Can't figure out, why do I fail test.
Wll appreciate any help.
Thanks!


#2

Hi Alexxero,

You shouldn't be looping through all destinations. You should only be showing one destination's (the current destination's) info. So change dst into @destination, and remove your each do loop stuff :slightly_smiling:


#3

A post was split to a new topic: Error: 'Undefined method "each"' on 6.4