Active Record Referential Integrity, Validations