Okay so I've passed this exercise, however I got the "add to hash" code from the first exercise and this forum (see A below for the code).
I initially tried a line of code we was taught a few exercises before (see B), which according to the exercise for that code, it would get only the letter "s" from another array and put it in the array "symbols". This didn't work for me when I try to adapt it to this exercise.
So I would like to know, how the code (see A) works exactly. Why is title in the [ ] on it's own, shouldn't it be [title, rating]?
A movies[title] = rating B symbols.push(s.to_sym)