Sign in Sign up
rubygems

ancestry

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.

Activity

Latest release
6mo ago
Total releases
38
Cadence
~2 months
Last 12 months
2

Reach

Stars

Details

License
MIT
First release
Oct 16, 2009
Releases
Version Released
5.1.0 minor
5.0.0 major
4.3.3 patch
4.3.2 patch
4.3.1 patch
4.3.0 minor
4.2.0 minor
4.1.0 minor
4.0.0 major
3.2.0 minor
3.2.1 patch
3.1.0 minor
3.0.7 patch
3.0.6 patch
3.0.5 patch
3.0.4 patch
3.0.3 patch
3.0.2 patch
3.0.1 patch
3.0.0 major
2.2.2 patch
2.2.1 patch
2.2.0 minor
2.1.0 minor
2.0.0 major
2.0.0.rc1 pre
1.3.0 minor
1.2.5 patch
1.2.4 patch
1.2.3 patch
1.2.2 patch
1.2.0 minor
1.1.4 patch
1.1.3 patch
1.1.2 patch
1.1.1 patch
1.1.0 minor
1.0.0 initial