Active Record acts_as_tree and leaf depth

Using acts_as_tree, is it possible to get information of the depth a
tree leaf in relation to the root? Or is available to derive
information to save in the way "position" can be derived and saved for

Hi Tony,

Thanks for the response. I will look in nested_set.

Can a table using acts_as_tree be used in combination with single
table inheritance as described in the book Agile Web Development with
Rails, pg. 263?