提交 79a05c4e 编写于 作者: D David Heinemeier Hansson

Merge pull request #16548 from arthurnn/fix_warn_message

Fix after_commit warning message
......@@ -5,7 +5,7 @@ module Transactions
ACTIONS = [:create, :destroy, :update]
CALLBACK_WARN_MESSAGE = <<-EOF
Currently, Active Record will rescue any errors raised within
after_rollback/after_create callbacks and print them to the logs. In the next
after_rollback/after_commit callbacks and print them to the logs. In the next
version, these errors will no longer be rescued. Instead, they will simply
bubble just like other Active Record callbacks.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册