I was expecting to see `validates_uniqueness_of :subtype, scope: :type` here, but I guess it amounts to the same thing.