5. Show a tag - Stuck on step 3


#1

I am stuck on step 3, specifically the part where you are supposed to iterate through each destination in the @destinations array and display its image, name, and description.

Here is the code I tried to run:

I keep getting this error: wrong number of arguments (0 for 1..4).
Is there something wrong with my syntax? Or am I missing something?

Thank you


#2

You might wanna change the 'tag.title' to '@tag.title' on line 10. Try that maybe?


#3

i had the same error.

and yupp...nawn is right.
changing 'tag.title' to '@tag.title' solved the problem.


#4

That was it! Thank you very much!


#5

Could anyone please explain the difference between
'tag.title' to '@tag.title' ?

Thank you!!