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.
Gemfile:
=
安装:
=
Runtime 依赖 (1):
mongoid
>= 2.0.0.beta11