RubyGems Navigation menu

arboreal 0.0.5

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:
= Copier Copié!

installation:
=

Versions:

  1. 0.2.1 - December 18, 2012 (9 ko)
  2. 0.2.0 - November 02, 2011 (9 ko)
  3. 0.1.2 - May 05, 2011 (9 ko)
  4. 0.1.1 - September 14, 2010 (9 ko)
  5. 0.1.0 - April 18, 2010 (9 ko)
  6. 0.0.5 - April 06, 2010 (8,5 ko)
Voir toutes les versions (10)

Dépendances de Runtime (1):

activerecord >= 2.3.0

Dépendances de Development (1):

rspec >= 1.2.9

Propriétaires:

Auteurs:

  • Mike Williams

Total de contrôle SHA 256:

f0ca14763c90b63047f6837d36a611f57e3114165c94ef92f154cd25c2b897e8

Total de téléchargements 55 765

Pour cette version 5 037

License:

aucune

Version de Ruby requise: >= 1.8.7

Liens: