~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/railties/lib/console_sandbox.rb

  • Committer: Richard Lee (Canonical)
  • Date: 2010-10-15 15:17:58 UTC
  • mfrom: (190.1.3 use-case-mapper)
  • Revision ID: richard.lee@canonical.com-20101015151758-wcvmfxrexsongf9d
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ActiveRecord::Base.connection.increment_open_transactions
2
 
ActiveRecord::Base.connection.begin_db_transaction
3
 
at_exit do
4
 
  ActiveRecord::Base.connection.rollback_db_transaction
5
 
  ActiveRecord::Base.connection.decrement_open_transactions
6
 
end