aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-11-21 22:07:06 +0100
committerXavier Noria <fxn@hashref.com>2015-11-21 22:07:06 +0100
commit4596c1a31902806a15c970a0e210942912b139b6 (patch)
treeacbe557711df0e340c0ca413efc55444516dc868 /activesupport/lib
parent49a5b408c9e23b937e93f6355b7b0a49a4a23184 (diff)
downloadrails-4596c1a31902806a15c970a0e210942912b139b6.tar.gz
rails-4596c1a31902806a15c970a0e210942912b139b6.tar.bz2
rails-4596c1a31902806a15c970a0e210942912b139b6.zip
reset the @updated flag before the callback invocation
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/file_evented_update_checker.rb3
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