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,239 of 197,051
Downloads: 39,488,268

Daily

Ranking: 909 of 197,010
Downloads: 26,633

Depended by

RankDownloadsName
8,815471,178social_stream-base
9,858366,671acts-as-messageable
9,993354,823cats_core
10,373325,571kuhsaft
11,690252,029spina
11,728250,416browsercms
11,815246,529inventory_refresh
12,694210,938ecom_core
12,722209,988optimacms
12,877205,222radiant-reader-extension
13,875176,180redde
15,040150,751comee_core
17,087118,517rearview
17,708111,312uffizzi_core
17,977108,227rhino_project_core
18,631101,896roroacms
18,685101,375esp-auth
19,59693,546repository-manager
21,25581,852cambium
21,68979,265esp-permissions

Depends on

RankDownloadsName
81,427,168,861rake
141,309,340,755minitest
37845,130,767activerecord
98505,449,469simplecov
117429,529,973logger
234237,091,802yard
1,98315,906,695appraisal

Owners

#GravatarHandle
1icon#1549
2iconkbrock