RubyGems Navigation menu

arboreal 0.0.2

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)
  6. 0.0.2 - April 01, 2010 (37.0 KB)
显示所有版本 (共 10 个)

Runtime 依赖 (1):

activerecord >= 2.3.0

Development 依赖 (1):

rspec >= 1.2.9

业主:

作者:

  • Mike Williams

SHA 256 校验和:

782d801a831d6fa3dc8ed6e3d41640a8fdd29565f90b23afd0f90d81b6fe2b98

下载总量 55,806

这个版本 4,946

许可:

需要的 Ruby 版本: >= 1.8.7

链接: