# File lib/acts_as_tree.rb, line 73 def root node = self node = node.parent while node.parent node end