[V2] Rails3 compatibility: replace after_create

rebased #322.