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
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/railties/console_sandbox.rb
rails-2.3.18 lib/console_sandbox.rb
activerecord-3.2.13 lib/active_record/railties/console_sandbox.rb
activerecord-3.1.12 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.13.rc2 lib/active_record/railties/console_sandbox.rb
activerecord-3.2.13.rc1 lib/active_record/railties/console_sandbox.rb
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/railties/console_sandbox.rb
active_mailer-0.0.4 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/railties/console_sandbox.rb
active_mailer-0.0.3 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/railties/console_sandbox.rb
rails_csi-2.3.5.p8 lib/console_sandbox.rb
rails-2.3.17 lib/console_sandbox.rb
activerecord-3.2.12 lib/active_record/railties/console_sandbox.rb
activerecord-3.1.11 lib/active_record/railties/console_sandbox.rb
challah-0.9.1.beta.3 vendor/bundle/gems/activerecord-3.2.11/lib/active_record/railties/console_sandbox.rb
devise_sociable-0.1.0 vendor/bundle/gems/activerecord-3.2.11/lib/active_record/railties/console_sandbox.rb
rails_csi-2.3.5.p7 lib/console_sandbox.rb
rails_csi-2.3.5.p6 lib/console_sandbox.rb
railties-3.0.20 lib/rails/console/sandbox.rb
rails-2.3.16 lib/console_sandbox.rb
challah-0.9.1.beta vendor/bundle/gems/activerecord-3.2.11/lib/active_record/railties/console_sandbox.rb