Sha256: f6f02224a2c5c1615cdd3d1942e0f295e6d08c729d14dfb58dca50c133859df9

Contents?: true

Size: 230 Bytes

Versions: 99

Compression:

Stored size: 230 Bytes

Contents

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

Version data entries

99 entries across 99 versions & 10 rubygems

Version Path
vibes-bj-1.2.2 spec/rails_root/vendor/rails/railties/lib/console_sandbox.rb
vibes-bj-1.2.1 spec/rails_root/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/railties/lib/console_sandbox.rb
antfarm-0.3.0 rails/vendor/rails/railties/lib/console_sandbox.rb
antfarm-0.4.0 rails/vendor/rails/railties/lib/console_sandbox.rb
authorails-1.0.0 lib/console_sandbox.rb
backlog-0.0.0 vendor/rails/railties/lib/console_sandbox.rb
backlog-0.0.1 vendor/rails/railties/lib/console_sandbox.rb
backlog-0.0.2 vendor/rails/railties/lib/console_sandbox.rb
backlog-0.0.5 vendor/rails/railties/lib/console_sandbox.rb
backlog-0.0.4 vendor/rails/railties/lib/console_sandbox.rb
backlog-0.1.1 vendor/rails/railties/lib/console_sandbox.rb
backlog-0.1.0 vendor/rails/railties/lib/console_sandbox.rb