Multiple belongsToMany

Apologies about reviving an old thread. Just ignore.

I chose to do so, however, because the solution to this question is now documented in the other thread I recently created, I figured as an aid anyone doing searches on how to do this, I should post a link to the other thread here: