Module: MongoTree::Strategies::ChildLink::ClassMethods
- Defined in:
- lib/mongo_tree/strategies/child_link.rb
Instance Method Summary collapse
Instance Method Details
#roots ⇒ Object
17 18 19 |
# File 'lib/mongo_tree/strategies/child_link.rb', line 17 def roots self.all(:child_id => nil) end |