RubyGems Navigation menu

ancestry 4.0.0

Ancestry allows the records of a ActiveRecord model to be organized in a tree structure, using the materialized path pattern. It exposes the standard relations (ancestors, parent, root, children, siblings, descendants) and allows them to be fetched in a single query. Additional features include named scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.

Versions:

  1. 4.0.0 - April 13, 2021 (21.5 KB)
  2. 3.2.1 - September 23, 2020 (21.5 KB)
  3. 3.2.0 - September 23, 2020 (17.5 KB)
  4. 3.1.0 - August 03, 2020 (18.5 KB)
  5. 3.0.7 - June 06, 2019 (18.5 KB)
Show all versions (31 total)

Runtime Dependencies (1):

  • activerecord >= 5.2.4.5
  • Development Dependencies (4):

    Owners:

    Pushed by:

    Authors:

    • Stefan Kroes, Keenan Brock

    SHA 256 checksum:

    315371a19c0038c990bdc14a2adad46863889a2531ae1383da408e0b7c5af229

    Total downloads 10,153,849

    For this version 52,958

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    License:

    MIT

    Required Ruby Version: >= 2.0.0

    Links: