Arboreal is yet another extension to ActiveRecord to support tree-shaped data structures. Internally, Arboreal maintains a computed "ancestry_string" column, which caches the path from the root of a tree to each node, allowing efficient retrieval of both ancestors and descendants. Arboreal surfaces relationships within the tree like "children", "ancestors", "descendants", and "siblings" as scopes, so that additional filtering/pagination can be performed.
Required Ruby Version
>= 1.8.7
Authors
Mike Williams
Versions
-
0.2.1
-
source
- 0.2.1 source December 18, 2012 (9 KB)
-
-
0.2.0
-
source
- 0.2.0 source November 02, 2011 (9 KB)
-
-
0.1.2
-
source
- 0.1.2 source May 05, 2011 (9 KB)
-
-
0.1.1
-
source
- 0.1.1 source September 14, 2010 (9 KB)
-
-
0.1.0
-
source
- 0.1.0 source April 18, 2010 (9 KB)
-