diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-30 14:29:44 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-30 14:29:44 +0000 |
commit | 3be52ef47cd9ee7f40956deaab6093fa3cd80036 (patch) | |
tree | 685d09f294294de33035e209df2dfac0f6111dde | |
parent | 26b7cb75067236bc4145d3e4e74833430cbe61fb (diff) | |
download | rails-3be52ef47cd9ee7f40956deaab6093fa3cd80036.tar.gz rails-3be52ef47cd9ee7f40956deaab6093fa3cd80036.tar.bz2 rails-3be52ef47cd9ee7f40956deaab6093fa3cd80036.zip |
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
-rw-r--r-- | activerecord/lib/active_record/transactions.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |