Find all models that do not have any associated models

I don't have a direct answer, but a general solution to that problem would be with validations in the model.

-Thufir