Rails3 compatibility: replace after_create