Rails3: replace deprecated 'before_save' method at Attachment model.
Authored by: tmaruyama 2011-08-30
Parent: [r6755]
Child: [r6757]