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.

Gemfile
          gem 'ancestry', '~> 2.1.0'
  
  
  
  
  
  
  

install
          gem install ancestry
  
  
  
  
  
  
  

Licenses:

  • MIT

Total downloads 779,100

For this version 72,588

Show all versions (16 total)

Required Ruby Version: >= 0

Links:

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: