Forum: Ruby on Rails [ANN] acts_as_materialized_tree

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Brian C. (Guest)
on 2008-11-25 23:31
I have made an experimental implementation of materialized trees for

In a materialized tree, each node contains an explicit path attribute.
This allows for efficient subtree searches [expensive in acts_as_tree]
and insertion and removal of children [expensive in acts_as_nested_set]

This should be considered proof-of-concept rather than production-ready
code. Requires ActiveRecord 2.1.x or later, as it makes extensive use of
anonymous scopes.

Code: git clone git://


Brian C..
This topic is locked and can not be replied to.