# File lib/ancestry/instance_methods.rb, line 101 def parent= parent write_attribute(self.base_class.ancestry_column, if parent.blank? then nil else parent.child_ancestry end) end