RubyGems Navigation menu

atd-ancestry 1.3.0

Ancestry allows the records of a ActiveRecord model to be organised 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. 1.3.0 - September 8, 2010 (14 KB)

Owners:

Fbdd0d26ec0146cbe4e22318fc5341b5

Total downloads 3,428

For this version 3,428

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'atd-ancestry', '~> 1.3.0' = Copy to clipboard Copied!

install:
gem install atd-ancestry = Copy to clipboard Copied!

Links: