ancestry

https://rubygems.org/gems/ancestry
https://github.com/stefankroes/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.

Total

Ranking: 1,240 of 196,106
Downloads: 38,651,861

Daily

Ranking: 965 of 196,079
Downloads: 14,104

Depended by

RankDownloadsName
8,781464,071social_stream-base
9,787364,124acts-as-messageable
9,924352,761cats_core
10,285325,085kuhsaft
11,645248,340browsercms
11,716245,817spina
11,786243,179inventory_refresh
12,616210,480ecom_core
12,652209,155optimacms
12,801203,659radiant-reader-extension
13,786175,788redde
15,168145,902comee_core
16,926118,380rearview
17,635110,322uffizzi_core
18,494101,569roroacms
18,536101,207esp-auth
18,94397,224rhino_project_core
19,41493,379repository-manager
21,07081,696cambium
21,49679,147esp-permissions

Depends on

RankDownloadsName
81,393,995,228rake
141,280,319,739minitest
37826,698,318activerecord
98493,362,474simplecov
125397,935,376logger
230231,993,960yard
1,99215,341,915appraisal

Owners

#GravatarHandle
1icon#1549
2iconkbrock