aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2016-09-16 10:09:25 -0400
committerArthur Neves <arthurnn@gmail.com>2016-09-16 10:10:06 -0400
commitf62451a50b2c9119adce7acc53ce3dfffc4d41d5 (patch)
tree17efde2b17a4ccd3939dc8444fd46c85b15df6fc /activerecord
parent47db952bf6938da78092096336d14c23b974a44c (diff)
downloadrails-f62451a50b2c9119adce7acc53ce3dfffc4d41d5.tar.gz
rails-f62451a50b2c9119adce7acc53ce3dfffc4d41d5.tar.bz2
rails-f62451a50b2c9119adce7acc53ce3dfffc4d41d5.zip
Force correct namespace when using TransactionManager
[fixes #26441]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
index def1dadb6a..aa2dfdd573 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
@@ -245,7 +245,7 @@ module ActiveRecord
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