Sha256: bb85a4e138925251da4a4c02a36f738573ab8975042196c3d1a06870f4aed8f0

Contents?: true

Size: 240 Bytes

Versions: 305

Compression:

Stored size: 240 Bytes

Contents

ActiveRecord::Base.connection.increment_open_transactions
ActiveRecord::Base.connection.begin_db_transaction
at_exit do
  ActiveRecord::Base.connection.rollback_db_transaction
  ActiveRecord::Base.connection.decrement_open_transactions
end

Version data entries

305 entries across 273 versions & 27 rubygems

Version Path
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.22.5/lib/active_record/railties/console_sandbox.rb
activerecord-3.2.22.5 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.22.4 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.22.3 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.22.2 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.22.1 lib/active_record/railties/console_sandbox.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/railties/console_sandbox.rb
activerecord-3.2.22 lib/active_record/railties/console_sandbox.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.12/lib/active_record/railties/console_sandbox.rb
activerecord-3.2.21 lib/active_record/railties/console_sandbox.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/active_record/railties/console_sandbox.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/active_record/railties/console_sandbox.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/active_record/railties/console_sandbox.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/active_record/railties/console_sandbox.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/active_record/railties/console_sandbox.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/active_record/railties/console_sandbox.rb
activerecord-3.2.20 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.19 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.18 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.17 lib/active_record/railties/console_sandbox.rb