check 'validates'  in  models