From 3be52ef47cd9ee7f40956deaab6093fa3cd80036 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 30 Dec 2004 14:29:44 +0000 Subject: 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 --- activerecord/lib/active_record/transactions.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb index 16c56c58f0..74cce2b992 100644 --- a/activerecord/lib/active_record/transactions.rb +++ b/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 @@ module ActiveRecord transaction { save_without_transactions(perform_validation) } end end -end +end \ No newline at end of file -- cgit v1.2.3