Rails3: replace deprecated 'before_create' method at User model.
Authored by: tmaruyama 2011-08-31
Parent: [r6842]
Child: [r6844]