1
0
Fork 0
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:
Chris Ledet 2013-10-25 16:59:48 -04:00
parent dc8fac1cac
commit 6f511943f8

View file

@ -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.