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,258 of 190,317
Downloads: 35,278,378

Daily

Ranking: 525 of 190,280
Downloads: 72,780

Depended by

RankDownloadsName
8,405447,516social_stream-base
9,476344,136acts-as-messageable
9,640331,739cats_core
9,893315,100kuhsaft
11,208241,117browsercms
11,595225,226inventory_refresh
11,635223,739spina
12,210201,667ecom_core
12,269199,781optimacms
12,281199,284radiant-reader-extension
13,299170,704redde
16,066119,022comee_core
16,264116,218rearview
17,747100,522uffizzi_core
17,94298,571esp-auth
17,94898,526roroacms
18,99689,584repository-manager
20,61578,442cambium
20,84877,075esp-permissions
21,87871,410rhino_project_core

Depends on

RankDownloadsName
81,255,248,311rake
141,163,937,242minitest
36761,692,300activerecord
99449,649,641simplecov
169282,398,756logger
227209,610,747yard
2,02413,244,302appraisal

Owners

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