Skip to content
Browse files

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
  • Loading branch information...
1 parent 26b7cb7 commit 3be52ef47cd9ee7f40956deaab6093fa3cd80036 @dhh dhh committed Dec 30, 2004
Showing with 2 additions and 1 deletion.
  1. +2 −1 activerecord/lib/active_record/transactions.rb
View
3 activerecord/lib/active_record/transactions.rb
@@ -1,4 +1,5 @@
require 'active_record/vendor/simple.rb'
+Transaction::Simple.send(:remove_method, :transaction)
require 'thread'
module ActiveRecord
@@ -114,4 +115,4 @@ def save_with_transactions(perform_validation = true) #:nodoc:
transaction { save_without_transactions(perform_validation) }
end
end
-end
+end

0 comments on commit 3be52ef

Please sign in to comment.
Something went wrong with that request. Please try again.