eager loading with acts_as_tree

Hi all,

I have a group, user and registration model all connected to each other.

the group has a acts_as_tree property.

I get the groups I want via top = Group.find_by_parent_id(nil) groups = top.children()

I need to iterate over this groups record like: groups.first.users.first.registration

the problem is that this is very bad performnce wise. I assume I can't include the user and registration in the children() method? Can I do it somewhere else?

regards, Stijn