Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix belongsToMany with deeper associations not loading.
When deep associations are loaded from junction tables, they are loaded as a hasMany. This means we need to accomodate for this structure as well. This solution doesn't make me happy but it was the smallest change I could make. Other approaches I took caused other things to break.
- Loading branch information