Relation through many-many relationship

Is the a way to create a relationship within a model through another many-many relationship?

I would like to be able to use $User->GroupCategories and have access to unique categories for the groups they are assigned to.

The relational query with through looked promising however it does not with in a many to many instance.

RyanB, I think your answer might lay in the ‘through’ option. Check out this.

Brokentwig: Thank you for the response. A relational query with through ended up being what I was looking for. I was on some old code which didn’t support that feature for many-many relations. Looks like this was changed in the 1.1.7 release. I updated my code earlier today and am now all set.

Thanks again for the response!

-Ryan