# File lib/ancestry/instance_methods.rb, line 187 def root_id ancestors? ? ancestor_ids.first : id end