# File lib/ancestry/instance_methods.rb, line 118
    def root_id
      if ancestor_ids.empty? then id else ancestor_ids.first end
    end