Permalink
Browse files

Revert "Merge pull request #12085 from valk/master"

This reverts commit 15455d7, reversing
changes made to ffa56f7.
  • Loading branch information...
1 parent 420f9cb commit 025b63db308fbbf942a3bc2673d4aadab968c524 @spastorino spastorino committed Sep 3, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 activerecord/lib/active_record/railties/console_sandbox.rb
View
4 activerecord/lib/active_record/railties/console_sandbox.rb
@@ -1,7 +1,5 @@
ActiveRecord::Base.connection.begin_transaction(joinable: false)
at_exit do
- if ActiveRecord::Base.connection.transaction_open?
- ActiveRecord::Base.connection.rollback_transaction
- end
+ ActiveRecord::Base.connection.rollback_transaction
end

0 comments on commit 025b63d

Please sign in to comment.