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,282 of 186,698
Downloads: 31,610,059

Daily

Ranking: 1,491 of 186,685
Downloads: 3,905

Depended by

RankDownloadsName
8,188431,813social_stream-base
9,254327,638acts-as-messageable
9,624303,331cats_core
9,653300,995kuhsaft
10,928231,502browsercms
11,353215,555inventory_refresh
11,656203,243spina
12,033191,285radiant-reader-extension
12,149187,380ecom_core
12,181186,322optimacms
13,034163,429redde
15,854113,034rearview
17,07799,144comee_core
17,58094,519esp-auth
17,61394,213roroacms
18,70785,434uffizzi_core
19,02483,250repository-manager
20,39874,425esp-permissions
20,65173,001cambium
25,52553,359voluntary

Depends on

RankDownloadsName
101,125,994,016rake
161,052,609,903minitest
36696,011,099activerecord
99412,766,531simplecov
223191,419,552yard
2,01311,623,445appraisal

Owners

#GravatarHandle
1icon#1549
2iconvanderhoorn
3iconmoiristo
4iconStefanH
5iconkbrock