diff options
author | Xavier Noria <fxn@hashref.com> | 2015-11-21 22:07:06 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2015-11-21 22:07:06 +0100 |
commit | 4596c1a31902806a15c970a0e210942912b139b6 (patch) | |
tree | acbe557711df0e340c0ca413efc55444516dc868 /activesupport | |
parent | 49a5b408c9e23b937e93f6355b7b0a49a4a23184 (diff) | |
download | rails-4596c1a31902806a15c970a0e210942912b139b6.tar.gz rails-4596c1a31902806a15c970a0e210942912b139b6.tar.bz2 rails-4596c1a31902806a15c970a0e210942912b139b6.zip |
reset the @updated flag before the callback invocation
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/file_evented_update_checker.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/file_evented_update_checker.rb b/activesupport/lib/active_support/file_evented_update_checker.rb index 85d392b265..fbc3fa2147 100644 --- a/activesupport/lib/active_support/file_evented_update_checker.rb +++ b/activesupport/lib/active_support/file_evented_update_checker.rb @@ -31,9 +31,8 @@ module ActiveSupport end def execute - @block.call - ensure @updated.make_false + @block.call end def execute_if_updated |