search for: chuckvose

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

2006 Jul 18
1
Bad values for acts_as_nested_set?
I moved from acts_as_tree to acts_as_nested_set because I need the all_children method. I''ve seen an alternative way to add this method to acts_as_tree here: http://www.chuckvose.com/articles/2006/05/24/recursive-children But I''d prefer to use the more efficient way of acts_as_nested_set (and not to have to revert to my old code). Anyway, here''s my issue: if I already have a root1 element with lft:1 and rgt:4 (has one child) and add a new root2 (has one...