some codes with Active Record Callbacks
Merge pull request #3 from hxx/Active-Record-Callbacks

some codes with Active Record Callbacks