提交 6f511943 编写于 作者: C Chris Ledet

Fixed typo with after_commit docs

Fixed syntax error on `after_commit` docs
上级 dc8fac1c
......@@ -220,8 +220,8 @@ def transaction(options = {}, &block)
# after_commit :do_bar, on: :update
# after_commit :do_baz, on: :destroy
#
# after_commit :do_foo_bar, :on [:create, :update]
# after_commit :do_bar_baz, :on [:update, :destroy]
# after_commit :do_foo_bar, on: [:create, :update]
# after_commit :do_bar_baz, on: [:update, :destroy]
#
# 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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册