mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed typo with after_commit docs
Fixed syntax error on `after_commit` docs
This commit is contained in:
parent
dc8fac1cac
commit
6f511943f8
1 changed files with 2 additions and 2 deletions
|
@ -220,8 +220,8 @@ module ActiveRecord
|
||||||
# after_commit :do_bar, on: :update
|
# after_commit :do_bar, on: :update
|
||||||
# after_commit :do_baz, on: :destroy
|
# after_commit :do_baz, on: :destroy
|
||||||
#
|
#
|
||||||
# after_commit :do_foo_bar, :on [:create, :update]
|
# after_commit :do_foo_bar, on: [:create, :update]
|
||||||
# after_commit :do_bar_baz, :on [:update, :destroy]
|
# after_commit :do_bar_baz, on: [:update, :destroy]
|
||||||
#
|
#
|
||||||
# Note that transactional fixtures do not play well with this feature. Please
|
# Note that transactional fixtures do not play well with this feature. Please
|
||||||
# use the +test_after_commit+ gem to have these hooks fired in tests.
|
# use the +test_after_commit+ gem to have these hooks fired in tests.
|
||||||
|
|
Loading…
Reference in a new issue