Browse files

Revert "Merge pull request #15794 from vishalzambre/patch-1"

This reverts commit 6d800a9, reversing
changes made to 6a05129.

We don't apply non-security fixes to 3-2-stable branch!!!
  • Loading branch information...
1 parent 6d800a9 commit bc90ea63e9937d2eee3da7dce022bf4bed10e49a @guilleiguaran guilleiguaran committed Jun 18, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/file_update_checker.rb
View
2 activesupport/lib/active_support/file_update_checker.rb
@@ -95,7 +95,7 @@ def execute_if_updated
def updated_at #:nodoc:
@updated_at || begin
all = []
- all.concat @files.select { |f| File.exist?(f) }
+ all.concat @files.select { |f| File.exists?(f) }
all.concat Dir[@glob] if @glob
all.map { |path| File.mtime(path) }.max || Time.at(0)
end

0 comments on commit bc90ea6

Please sign in to comment.