RubyGems Navigation menu

ancestry 2.2.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. 4.1.0 - June 28, 2021 (22 KB)
  2. 4.0.0 - April 13, 2021 (21.5 KB)
  3. 3.2.1 - September 23, 2020 (21.5 KB)
  4. 3.2.0 - September 23, 2020 (17.5 KB)
  5. 3.1.0 - August 03, 2020 (18.5 KB)
  6. 2.2.0 - October 25, 2016 (16.5 KB)
Show all versions (32 total)

Runtime Dependencies (1):

Development Dependencies (4):

Owners:

Authors:

  • Stefan Kroes

SHA 256 checksum:

9b17b3c58a284df2900ea979be0704787f899684b654e58c98fc7a305ded6265

Total downloads 11,815,475

For this version 1,458

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 1.8.7

Links: