Module | ActiveRecord::Acts::Tree::InstanceMethods |
In: |
lib/active_record/acts/tree.rb
|
Returns all siblings and a reference to the current node.
subchild1.self_and_siblings # => [subchild1, subchild2]