mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Transactions are now actually working on the database level on save, but thread safety is currently out the window. Andreas is working on it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
require 'active_record/vendor/simple.rb'
|
||||
Transaction::Simple.send(:remove_method, :transaction)
|
||||
require 'thread'
|
||||
|
||||
module ActiveRecord
|
||||
@@ -114,4 +115,4 @@ module ActiveRecord
|
||||
transaction { save_without_transactions(perform_validation) }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user