Category

Active Record Nesting

Model database records as nested data structures

2.1
No release in over a year
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.91
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Easily and efficiently make your ActiveRecord model support hierarchies
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.45
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
A gem that adds simple support for organizing ActiveRecord models into parent–children relationships.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.07
No commit activity in last 3 years
NOTICE: official repository moved to https://github.com/bbommarito/acts_as_nested_set
0.06
No commit activity in last 3 years
There's a lot of open issues
better_nested_set Rails plugin (my fork from official SVN)
0.01
No release in over 3 years
Low commit activity in last 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.01
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Adds directed acyclic graph functionality to ActiveRecord.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024