RubyGems Navigation menu

arboreal 0.1.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:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.2.1 - December 18, 2012 (9.0 KB)
  2. 0.2.0 - November 02, 2011 (9.0 KB)
  3. 0.1.2 - May 05, 2011 (9.0 KB)
  4. 0.1.1 - September 14, 2010 (9.0 KB)
  5. 0.1.0 - April 18, 2010 (9.0 KB)
顯示所有版本(共 10)

Runtime 相依性套件 (2):

activerecord >= 2.3.0
activesupport >= 2.3.0

擁有者:

作者:

  • Mike Williams

SHA 256 checksum:

3b5d1eeaeb24a0201bb391a7213c0e42bad0d4f297b96e06390d07ed25167f01

總下載次數 55,743

這個版本 5,023

License:

Ruby 版本需求: >= 1.8.7

相關連結: