Module ActiveRecord::Acts::Tree::InstanceMethods
In: lib/active_record/acts/tree.rb

Methods

Public Instance methods

Returns list of ancestors, starting from parent until root.

  subchild1.ancestors # => [child1, root]

[Validate]