diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index d41872d767..e1a72baff0 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -522,7 +522,7 @@ module ActiveRecord @reflects_state[depth] = true end - if transaction_state.parent && !@reflects_state[depth+1] + if transaction_state.parent update_attributes_from_transaction_state(transaction_state.parent, depth+1) end end |