Sha256: 8ad04125cb3d15d875bc6c7ff726bb01e9b845ec41b70cb3100417f8eb5d0fab

Contents?: true

Size: 165 Bytes

Versions: 77

Compression:

Stored size: 165 Bytes

Contents

# frozen_string_literal: true

ActiveRecord::Base.connection.begin_transaction(joinable: false)

at_exit do
  ActiveRecord::Base.connection.rollback_transaction
end

Version data entries

77 entries across 77 versions & 7 rubygems

Version Path
activerecord-6.0.6.1 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.6 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.5.1 lib/active_record/railties/console_sandbox.rb
activerecord-5.2.8.1 lib/active_record/railties/console_sandbox.rb
activerecord-5.2.8 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.5 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.8 lib/active_record/railties/console_sandbox.rb
activerecord-5.2.7.1 lib/active_record/railties/console_sandbox.rb
activerecord-5.2.7 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.7 lib/active_record/railties/console_sandbox.rb
activerecord-5.2.6.3 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.6 lib/active_record/railties/console_sandbox.rb
activerecord-5.2.6.2 lib/active_record/railties/console_sandbox.rb
activerecord-5.2.6.1 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.5 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.4 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.3 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.2 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4.1 lib/active_record/railties/console_sandbox.rb
activerecord-6.0.4 lib/active_record/railties/console_sandbox.rb