1
0
Fork 0
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:
Arun Agrawal 2013-07-03 21:40:20 +02:00
parent 51c97e7e19
commit b23501112e
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,7 @@
* Remove deprecated `decrement_open_transactions`.
*Arun Agrawal*
* Remove deprecated `increment_open_transactions`.
*Arun Agrawal*

View file

@ -387,10 +387,6 @@ module ActiveRecord
@transaction.number
end
def decrement_open_transactions
ActiveSupport::Deprecation.warn "#decrement_open_transactions is deprecated and has no effect"
end
def transaction_joinable=(joinable)
message = "#transaction_joinable= is deprecated. Please pass the :joinable option to #begin_transaction instead."
ActiveSupport::Deprecation.warn message