RubyGems Navigation menu

arboreal 0.0.4

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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  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)
  6. 0.0.4 - April 06, 2010 (8 KB)
Zeige alle Versionen (10 total)

Runtime Abhängigkeiten (1):

activerecord >= 2.3.0

Development Abhängigkeiten (1):

rspec >= 1.2.9

Besitzer:

Autoren:

  • Mike Williams

SHA 256-Prüfsumme:

3c0f9b328423b7e73c15f242ce0d9b857cb224c9b80efc0128a94d639ead77c1

Downloads insgesamt 55.695

Für diese Version 4.848

Lizenzen:

k.A.

Erforderliche Ruby-Version: >= 1.8.7

Links: