提交 27996bc1 编写于 作者: R Ryuta Kamizono

Fix removed version 5.2 to 6.0 in the deprecation message

Because the deprecation message is not yet released.
上级 0237da28
......@@ -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.
先完成此消息的编辑!
想要评论请 注册