acts_as_tree
acts_as_tree copied to clipboard
NOTICE: official repository moved to https://github.com/amerine/acts_as_tree
If a page has one of its children defined as its parent, the methods 'root' and 'ancestors' will cause a time out. Perhaps add error handling for if a node...
I'd like to be able to use `:autosave => true` in the `has_many :children` association created by acts_as_tree so that I an modify a tree of objects and save them...
I can store a relation that is a graph in fact. Is it expected? I think it should throw an exception when there is a recycling path (For example A->B->A->B....)....
In ActiveSupport 2.3.8, the parent method is defined in the Module class which conflicts with the acts_as_tree parent method. http://github.com/rails/rails/blob/v2.3.8/activesupport/lib/active_support/core_ext/module/introspection.rb
Hi. What about adding some usefull methods to your plug in: leafs: returns only the last elements of a tree for a given knot structure: returns the given knot and...