search for: childrens_nodes_2

Displaying 1 result from an estimated 1 matches for "childrens_nodes_2".

2006 Jun 19
0
Eager loading and acts_as_tree
...hildren, :parent ] }, :parent ]) How do I pull out the first three levels? What about four? @root = Node.find(1, :include => [ { :children => [ { :children => [:children, :parent] }, :parent ] }, :parent ]) gives me the following error: Mysql::Error: Not unique table/alias: ''childrens_nodes_2'' Many thanks in advance, Nickolay