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,279 of 187,839
Downloads: 33,007,338

Daily

Ranking: 635 of 187,816
Downloads: 36,833

Depended by

RankDownloadsName
8,277439,047social_stream-base
9,331336,165acts-as-messageable
9,598318,020cats_core
9,760307,359kuhsaft
11,031236,266browsercms
11,448220,220inventory_refresh
11,633212,794spina
12,115195,240radiant-reader-extension
12,129194,856ecom_core
12,247191,657optimacms
13,131167,194redde
16,003114,697rearview
16,603107,500comee_core
17,69896,613esp-auth
17,74196,303roroacms
18,03693,694uffizzi_core
18,95186,339repository-manager
20,57975,782cambium
20,58575,758esp-permissions
24,24559,405rhino_project_core

Depends on

RankDownloadsName
101,173,524,796rake
151,097,419,339minitest
36723,792,792activerecord
99427,644,891simplecov
225198,312,119yard
2,03112,256,620appraisal

Owners

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