Posted By

tmarkiewicz on 07/09/08


Tagged

textmate validation


Versions (?)

Custom Errors


 / Published in: Other
 

  1. # EXAMPLE: errors.add_to_base "If you are attaching a file you must enter a label for it" if !attachment.blank? and attachment_label.blank?

Report this snippet  

You need to login to post a comment.