diff options
author | Arthur Neves <arthurnn@gmail.com> | 2014-07-29 10:09:06 -0400 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2014-07-29 10:38:11 -0400 |
commit | dd9829a9ea460ddcfc8d954f2b95161b52fff6e7 (patch) | |
tree | 77ff78d1374cc1e98613ebacaddb386840868f6e /activesupport/test/core_ext/module_test.rb | |
parent | aade0a0412c3b8dfada4628487f6fb4c615f0060 (diff) | |
download | rails-dd9829a9ea460ddcfc8d954f2b95161b52fff6e7.tar.gz rails-dd9829a9ea460ddcfc8d954f2b95161b52fff6e7.tar.bz2 rails-dd9829a9ea460ddcfc8d954f2b95161b52fff6e7.zip |
Remove @state.parent assignment on commit
This piece of code was introduced on
67d8bb963d5d51fc644d6b1ca20164efb4cee6d7 , which was calling
`committed?` in the `transaction_state` before calling the `committed!`
method. However on 7386ffc781fca07a0c656db49fdb54678caef809, the
`committed?` check was removed and replaced by a `finalized?`, which
only checks if the state is not nil. Thus we can remove that line.
Diffstat (limited to 'activesupport/test/core_ext/module_test.rb')
0 files changed, 0 insertions, 0 deletions