We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526ab77 commit 900054bCopy full SHA for 900054b
lib/test_prof/ext/active_record_3.rb
@@ -5,8 +5,8 @@ module TestProf
5
module ActiveRecord3Transactions
6
refine ::ActiveRecord::ConnectionAdapters::AbstractAdapter do
7
def begin_transaction(joinable: true)
8
- increment_open_transactions
9
if open_transactions > 0
+ increment_open_transactions
10
create_savepoint
11
else
12
begin_db_transaction
0 commit comments