You should actually just call a method that resides in link.rb, because the link will 'know' about all of it's comments. Something like : 

protected
def update_link_score
  if self.link.present?
    self.link.update_score
  end
end