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