Rails3: replace deprecated 'before_save' method at User model.
Authored by: tmaruyama 2011-08-31
Parent: [r6922]
Child: [r6924]