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 188,252
Downloads: 33,515,653

Daily

Ranking: 1,231 of 188,232
Downloads: 22,414

Depended by

RankDownloadsName
8,305440,903social_stream-base
9,360337,977acts-as-messageable
9,588322,902cats_core
9,789309,552kuhsaft
11,089237,708browsercms
11,497221,386inventory_refresh
11,647215,084spina
12,122197,155ecom_core
12,148196,437radiant-reader-extension
12,249193,698optimacms
13,156168,197redde
16,068115,135rearview
16,363111,553comee_core
17,75697,283esp-auth
17,78696,932roroacms
17,88396,100uffizzi_core
18,96787,221repository-manager
20,56176,643cambium
20,62876,235esp-permissions
23,21363,743rhino_project_core

Depends on

RankDownloadsName
101,188,890,086rake
141,112,504,629minitest
36732,685,118activerecord
99432,633,044simplecov
225200,691,371yard
2,02812,482,758appraisal

Owners

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