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:
David Heinemeier Hansson
2004-12-30 14:29:44 +00:00
parent 26b7cb7506
commit 3be52ef47c

View File

@@ -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