Rails3: before_save: Attachment