RubyGems Navigation menu

arboreal 0.2.1

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.1 - December 18, 2012 (9 KB)
  2. 0.2.0 - November 02, 2011 (9 KB)
  3. 0.1.2 - May 05, 2011 (9 KB)
  4. 0.1.1 - September 14, 2010 (9 KB)
  5. 0.1.0 - April 18, 2010 (9 KB)
Show all versions (10 total)

Runtime Dependencies (2):

activerecord >= 2.3.0
activesupport >= 2.3.0

Owners:

Authors:

  • Mike Williams

SHA 256 checksum:

e02e7c433c5eef41c9e8b23f78c7ac3e05ae6be7a9c680048e3984548ec1ae79

Total downloads 55,583

For this version 10,797

Licenses:

N/A

Required Ruby Version: >= 1.8.7

Links: