RubyGems Navigation menu

arboreal 0.2.0

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.

版本列表:

  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 个版本)

所有者:

作者:

  • Mike Williams

SHA 256 checksum:

a5c34bdb4c96e2a863280dc7199f8102f0b8373e1f2d8f9d542bf790727e7ccd

下载总次数 40,950

这个版本 3,383

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可s:

需要的 Ruby 版本:

相关链接: