# File lib/ancestry/instance_methods.rb, line 109 def parent_id if ancestor_ids.empty? then nil else ancestor_ids.last end end