RubyGems Navigation menu

ancestry 3.0.5

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 4.3.3 - April 10, 2023 (24.5 KB)
  2. 4.3.2 - March 26, 2023 (24.5 KB)
  3. 4.3.1 - March 20, 2023 (24.5 KB)
  4. 4.3.0 - March 09, 2023 (25 KB)
  5. 4.2.0 - June 10, 2022 (22.5 KB)
  6. 3.0.5 - November 06, 2018 (18 KB)
Show all versions (37 total)

Runtime Dependencies (1):

activerecord >= 3.2.0

Development Dependencies (6):

minitest >= 0
rake ~> 10.0
rdoc >= 0
sqlite3 >= 0
test-unit >= 0
yard >= 0

Owners:

Authors:

  • Stefan Kroes, Keenan Brock

SHA 256 checksum:

f2d14a679e3556a2970a34e0d5d79ba0a17c8bb7c4622216a44cceae90d723fa

Total downloads 24,554,402

For this version 1,242,677

License:

MIT

Required Ruby Version: >= 1.8.7

Links: