Skip to content

Commit

Permalink
Force correct namespace when using TransactionManager
Browse files Browse the repository at this point in the history
[fixes #26441]
  • Loading branch information
arthurnn committed Sep 16, 2016
1 parent 47db952 commit f62451a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -245,7 +245,7 @@ def transaction_open?
end

def reset_transaction #:nodoc:
@transaction_manager = TransactionManager.new(self)
@transaction_manager = ConnectionAdapters::TransactionManager.new(self)
end

# Register a record with the current transaction so that its after_commit and after_rollback callbacks
Expand Down

0 comments on commit f62451a

Please sign in to comment.