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.
Ecosystem
rubygems.org
rubygems.org
Latest Release
9 months ago
5.1.0
9 months ago
Versions
38
38
Downloads
41,108,956 total
41,108,956 total
Dependent Packages
71
71
Dependent Repos
4,133
4,133
Loading...
Readme
Loading...
Links
| Registry | rubygems.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:gem/ancestry
spec |
| License | MIT |
| First Release | about 17 years ago |
| Last Synced | 4 days ago |
Repository
Rankings on rubygems.org
Overall
Top 0.9%
Downloads
Top 0.7%
Dependent packages
Top 0.4%
Dependent repos
Top 0.5%
Forks
Top 1.3%
Docker downloads
Top 2.4%