Subject: [SOLVED]Associations tree question[/SOLVED]
I want to call the parent object and include the children and childrens children.
ex. I have a 'teams' that belong to 'leagues' which belong to 'districts'
i want to be about to call districts with include and get leauge and team objects returned. I have it so leauges get returned but i can't seem to figure out how to get teams included in the league object
Subject: [SOLVED]Associations tree question[/SOLVED]
I want to call the parent object and include the children and childrens children.
ex. I have a 'teams' that belong to 'leagues' which belong to 'districts'
i want to be about to call districts with include and get leauge and team objects returned. I have it so leauges get returned but i can't seem to figure out how to get teams included in the league object