RubyGems Navigation menu

ancestry 2.1.0

Ancestry allows the records of a ActiveRecord model to be organized in a tree structure, using a single, intuitively formatted database column. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single sql query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.

Versions:

  1. 2.1.0 - April 16, 2014 (16 KB)
  2. 2.0.0 - May 17, 2013 (16 KB)
  3. 2.0.0.rc1 - May 7, 2013 (15.5 KB)
  4. 1.3.0 - May 3, 2012 (15 KB)
  5. 1.2.5 - March 14, 2012 (15 KB)
Show all versions (16 total)

Runtime Dependencies:

Authors:

  • Stefan Kroes

Owners:

8acc6a033ff7e6ae28266284842e0d9267364c084713f82d505a52316d90dabd6b03a585714720f790097be85dee458c4513e5a669f2058d00532128d7cf607967da08e8f01375a7a87573aa179743b0

Total downloads 787,290

For this version 76,383

Show all versions (16 total)

Required Ruby Version: >= 0

Licenses:

MIT

Gemfile:
gem 'ancestry', '~> 2.1.0' = Copy to clipboard Copied!

install:
gem install ancestry = Copy to clipboard Copied!

Links: