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

670 total downloads 345 for this version
Owners

0da9e9a58c8d8c3c40d4b5fd8abd7171

Bundler
gem "treeoid", "~> 0.0.1"
Versions
  1. 0.0.1 July 28, 2010
  2. 0.0.0 July 28, 2010
Runtime Dependencies
  1. mongoid >= 2.0.0.beta11