RubyGems Navigation menu

ancestry 4.2.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.2.0 - June 10, 2022 (22.5 KB)
  2. 4.1.0 - June 28, 2021 (22 KB)
  3. 4.0.0 - April 13, 2021 (21.5 KB)
  4. 3.2.1 - September 23, 2020 (21.5 KB)
  5. 3.2.0 - September 23, 2020 (17.5 KB)
Show all versions (33 total)

Runtime Dependencies (1):

Development Dependencies (5):

Owners:

Pushed by:

Authors:

  • Stefan Kroes, Keenan Brock

SHA 256 checksum:

0638ce264f770871adbea2adb1c092bfb55731ae81655ddd8b2b8d92170e0b42

Total downloads 15,843,378

For this version 151,527

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 2.5

Links: