You have to use ```has_many through``` associations. Look up [here][1] for more information.


[1]:http://guides.rubyonrails.org/association_basics.html#the-has-many-through-association