I know that this step tells me to retrieve all actors related to the movie, but I can’t find a way to relate both models (is it technically right? relating models?) in order to list all instances of one class (actor) that relate to one instance of another (movie). Is this way of thinking even correct?
So far my code looks like this:
def show @movie = Movie.find(params[:id]) @actors = @movie.actor
end