Bad news. The server hosting The Ruby Toolbox went bust on the evening of June 7th. While I do have backups, the original source code is in a very outdated state so I currently don't feel it makes sense to try and get it running again.

For the time being, here is a very stripped down version of the Ruby Toolbox's contents.

Update June 13th: I'd like to invite you to join the discussion on the future of the Toolbox on github. You can also get in touch directly on Twitter.

 Score 2.97

Awesome nested set

An awesome nested set implementation for Active Record

 Score 2.72


Ancestry allows the records of a ActiveRecord model to be organized in a tree structure, using a single, intuitively formatted database column. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single sql query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.

 Rubygem ancestry
 Score 0.99

Acts as tree

A gem that adds simple support for organizing ActiveRecord models into parent–children relationships.

 Rubygem acts_as_tree
 Score 0.89

Closure Tree

Easily and efficiently make your ActiveRecord model support hierarchies

ActiveRecord extension for sorted adjacency lists support

 Score 0.04


Adds directed acyclic graph functionality to ActiveRecord.

 Rubygem acts_as_dag
 Github rrn/acts_as_dag
 Score 0.03


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.

 Rubygem arboreal
 Github mdub/arboreal