aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2015-12-06 19:15:33 +0200
committerGenadi Samokovarov <gsamokovarov@gmail.com>2015-12-06 20:33:36 +0200
commit5a300b2ed6b603474a7ee44d081da9e69465ec10 (patch)
tree1b9374dba7a2f9bdfcb8987fcc3f7d7fa2e53830 /activesupport
parent65443ceb0d55e1445b28e31e772629424e6755c3 (diff)
downloadrails-5a300b2ed6b603474a7ee44d081da9e69465ec10.tar.gz
rails-5a300b2ed6b603474a7ee44d081da9e69465ec10.tar.bz2
rails-5a300b2ed6b603474a7ee44d081da9e69465ec10.zip
Introduce after_{create,update,delete}_commit callbacks
Those are actually shortcuts for `after_commit`. Before: after_commit :add_to_index_later, on: :create after_commit :update_in_index_later, on: :update after_commit :remove_from_index_later, on: :destroy After: after_create_commit :add_to_index_later after_update_commit :update_in_index_later after_destroy_commit :remove_from_index_later
Diffstat (limited to 'activesupport')
0 files changed, 0 insertions, 0 deletions