Is not that what after_update does?
On dom, 4 de set de 2016 at 17:46 Anuj N wrote:
> Hi folks!
>
> As per https://github.com/rails/rails/issues/22515, 5.0 saw
> after_create_commit, after_update_commit, after_destroy_commit being
> added as aliases to after_commit,
Hi folks!
As per https://github.com/rails/rails/issues/22515, 5.0 saw
after_create_commit, after_update_commit, after_destroy_commit being added
as aliases to after_commit, on:create, etc. From
https://github.com/rails/rails/issues/12502, it seems that `on` flag only
works for after_commit