提交 afee464b 编写于 作者: K Kasper Timm Hansen 提交者: GitHub

Merge pull request #29654 from kamipo/fix_deprecation_message

Fix removed version 5.2 to 6.0 in the deprecation message
......@@ -33,7 +33,7 @@ def completed?
def set_state(state)
ActiveSupport::Deprecation.warn(<<-MSG.squish)
The set_state method is deprecated and will be removed in
Rails 5.2. Please use rollback! or commit! to set transaction
Rails 6.0. Please use rollback! or commit! to set transaction
state directly.
MSG
case state
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册