Hi all. I have a project which has two "trees" branching out from it in terms of children. Currently I am nested including one branch: @projects = Project.find(:all, :include => [:component => {:category => :testcase} ] ) but I am unsure how to include the second branch. Essentially I want to include the merge the following with the above: @projects = Project.find(:all, :include => [:testsuite => {:build => :results} ] ) Also, what would be the syntax to include another level deep? Would it just be nesting another {} in there? @projects = Project.find(:all, :include => [:testsuite => {:build => {:results => :testcasetemplate} } ] ) Many thanks, RJ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---