aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authorBogdan Gusiev <agresso@gmail.com>2013-12-04 16:16:11 +0200
committerBogdan Gusiev <agresso@gmail.com>2013-12-04 16:16:11 +0200
commit998ba0e7084345a045d49a64ee9cf9d2d2441780 (patch)
treeda21b1253cccc132c2cd45cb9657fff3c24c21ee /activerecord/lib/active_record/core.rb
parentb6f189e2f0bcc8f36f52c83e8ac2255d5e578a42 (diff)
downloadrails-998ba0e7084345a045d49a64ee9cf9d2d2441780.tar.gz
rails-998ba0e7084345a045d49a64ee9cf9d2d2441780.tar.bz2
rails-998ba0e7084345a045d49a64ee9cf9d2d2441780.zip
Fix bugs with changed attributes tracking when transaction gets rollback
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
-rw-r--r--activerecord/lib/active_record/core.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb
index 8808ad5a4c..a753ad7cb1 100644
--- a/activerecord/lib/active_record/core.rb
+++ b/activerecord/lib/active_record/core.rb
@@ -428,7 +428,6 @@ module ActiveRecord
@destroyed_by_association = nil
@new_record = true
@txn = nil
- @_start_transaction_state = {}
@transaction_state = nil
@reflects_state = [false]
end