RubyGems.org

treeoid

0.0.1

With treeoid, you can create tree-style hierarchies for Mongoid classes. Just "include Treeoid" and you're ready to roll. You get a "parent" accessor, a "children" array, plus a scope called "hierarchically" that spits everything out in hierarchical order - perfect for front end rendering.

installgem install treeoid
Authors

Jeremy Weiland

2,140 total downloads 1,097 for this version
Owners

0da9e9a58c8d8c3c40d4b5fd8abd7171

Gemfile
gem 'treeoid', '~> 0.0.1'
Versions
  1. 0.0.1 July 28, 2010 (8 KB)
  2. 0.0.0 July 28, 2010 (8 KB)
Runtime Dependencies
  1. mongoid >= 2.0.0.beta11