diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-02 04:11:48 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-02 04:11:48 +0900 |
commit | 27996bc1fb3ad2115a3e091240c6eec79898fd8c (patch) | |
tree | 3d9cd5227f47998a6e563a9564d665a4558a81ee /activerecord/lib/active_record/connection_adapters | |
parent | 0237da287eb4c507d10a0c6d94150093acc52b03 (diff) | |
download | rails-27996bc1fb3ad2115a3e091240c6eec79898fd8c.tar.gz rails-27996bc1fb3ad2115a3e091240c6eec79898fd8c.tar.bz2 rails-27996bc1fb3ad2115a3e091240c6eec79898fd8c.zip |
Fix removed version 5.2 to 6.0 in the deprecation message
Because the deprecation message is not yet released.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/transaction.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb b/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb index 2393e35ecd..f63d09039f 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb @@ -33,7 +33,7 @@ module ActiveRecord 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 |