aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/rails-2.0.2/railties/lib/console_sandbox.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rails-2.0.2/railties/lib/console_sandbox.rb')
-rw-r--r--vendor/rails-2.0.2/railties/lib/console_sandbox.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/vendor/rails-2.0.2/railties/lib/console_sandbox.rb b/vendor/rails-2.0.2/railties/lib/console_sandbox.rb
deleted file mode 100644
index 5d57679c4..000000000
--- a/vendor/rails-2.0.2/railties/lib/console_sandbox.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-ActiveRecord::Base.send :increment_open_transactions
-ActiveRecord::Base.connection.begin_db_transaction
-at_exit do
- ActiveRecord::Base.connection.rollback_db_transaction
- ActiveRecord::Base.send :decrement_open_transactions
-end