mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove deprecated decrement_open_transactions
.
This commit is contained in:
parent
51c97e7e19
commit
b23501112e
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
* Remove deprecated `decrement_open_transactions`.
|
||||||
|
|
||||||
|
*Arun Agrawal*
|
||||||
|
|
||||||
* Remove deprecated `increment_open_transactions`.
|
* Remove deprecated `increment_open_transactions`.
|
||||||
|
|
||||||
*Arun Agrawal*
|
*Arun Agrawal*
|
||||||
|
|
|
@ -387,10 +387,6 @@ module ActiveRecord
|
||||||
@transaction.number
|
@transaction.number
|
||||||
end
|
end
|
||||||
|
|
||||||
def decrement_open_transactions
|
|
||||||
ActiveSupport::Deprecation.warn "#decrement_open_transactions is deprecated and has no effect"
|
|
||||||
end
|
|
||||||
|
|
||||||
def transaction_joinable=(joinable)
|
def transaction_joinable=(joinable)
|
||||||
message = "#transaction_joinable= is deprecated. Please pass the :joinable option to #begin_transaction instead."
|
message = "#transaction_joinable= is deprecated. Please pass the :joinable option to #begin_transaction instead."
|
||||||
ActiveSupport::Deprecation.warn message
|
ActiveSupport::Deprecation.warn message
|
||||||
|
|
Loading…
Reference in a new issue