Permalink
Browse files

Revert "Fix script/console --sandbox warning. [#1194 state:resolved]"

This reverts commit bbb2fda.
  • Loading branch information...
lifo committed Oct 24, 2008
1 parent 8fad8d7 commit 197e61c5b1df89260ee5077c7e3c94e61a51b6a2
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/console_sandbox.rb
@@ -1,6 +1,6 @@
ActiveRecord::Base.connection.increment_open_transactions
ActiveRecord::Base.send :increment_open_transactions
ActiveRecord::Base.connection.begin_db_transaction
at_exit do
ActiveRecord::Base.connection.rollback_db_transaction
ActiveRecord::Base.connection.decrement_open_transactions
ActiveRecord::Base.send :decrement_open_transactions
end

0 comments on commit 197e61c

Please sign in to comment.