Categories: None [Edit]

arboreal

https://rubygems.org/gems/arboreal
https://github.com/mdub/arboreal
Arboreal is yet another extension to ActiveRecord to support tree-shaped data structures. Internally, Arboreal maintains a computed "ancestry_string" column, which caches the path from the root of a tree to each node, allowing efficient retrieval of both ancestors and descendants. Arboreal surfaces relationships within the tree like "children", "ancestors", "descendants", and "siblings" as scopes, so that additional filtering/pagination can be performed.

Total

Ranking: 24,424 of 188,757
Downloads: 59,900

Daily

Ranking: 42,349 of 188,742
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,254,855,604activesupport
36740,878,701activerecord

Owners

#GravatarHandle
1iconmdub