Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed deprecated increment_open_transactions

  • Loading branch information...
commit 51c97e7e192e82cc3b563a15bcaac286b4f8e422 1 parent b785e92
@arunagw arunagw authored
View
4 activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Remove deprecated `increment_open_transactions`.
+
+ *Arun Agrawal*
+
* Remove deprecated `PostgreSQLAdapter#outside_transaction?`
method. You can use `#transaction_open?` instead.
View
4 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -387,10 +387,6 @@ def open_transactions
@transaction.number
end
- def increment_open_transactions
- ActiveSupport::Deprecation.warn "#increment_open_transactions is deprecated and has no effect"
- end
-
def decrement_open_transactions
ActiveSupport::Deprecation.warn "#decrement_open_transactions is deprecated and has no effect"
end
Please sign in to comment.
Something went wrong with that request. Please try again.