From 51c97e7e192e82cc3b563a15bcaac286b4f8e422 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Wed, 3 Jul 2013 20:48:49 +0200 Subject: [PATCH] removed deprecated increment_open_transactions --- activerecord/CHANGELOG.md | 4 ++++ .../lib/active_record/connection_adapters/abstract_adapter.rb | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 9cd011aef5..878807151b 100644 --- a/activerecord/CHANGELOG.md +++ b/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. diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index e232cad982..5ef70487dd 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -387,10 +387,6 @@ module ActiveRecord @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