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