# File lib/ancestry/class_methods.rb, line 155
    def rebuild_depth_cache!
      raise Ancestry::AncestryException.new("Cannot rebuild depth cache for model without depth caching.") unless respond_to? :depth_cache_column
      self.base_class.find_each do |node|
        node.update_attribute depth_cache_column, node.depth
      end
    end