Permalink
Browse files

reset the @Updated flag before the callback invocation

  • Loading branch information...
fxn committed Nov 21, 2015
1 parent 49a5b40 commit 4596c1a31902806a15c970a0e210942912b139b6
Showing with 1 addition and 2 deletions.
  1. +1 −2 activesupport/lib/active_support/file_evented_update_checker.rb
@@ -31,9 +31,8 @@ def updated?
end
def execute
@block.call
ensure
@updated.make_false
@block.call
end
def execute_if_updated

0 comments on commit 4596c1a

Please sign in to comment.