class Tah < ActiveRecord::Base
  belongs_to :arc
  has_many :tsos, :dependent => :destroy

  def collisions
    tsos.map(&:collisions).flatten.uniq.map(&:tah).uniq
  end

  def duplicates
    tsos.map(&:duplicates).flatten.uniq.map(&:tah).uniq
  end
end
