diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-04 15:28:47 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-04 15:28:47 +0200 |
commit | e10f62f092e14650ba1a07fa3d0751109933cafe (patch) | |
tree | b7461c74b3f696486322d0b21d701bd22acf6438 /lib/active_file/sites | |
parent | 2a2f8ca521e9ffaebd4227940b802ce88fdbb02d (diff) | |
download | rails-e10f62f092e14650ba1a07fa3d0751109933cafe.tar.gz rails-e10f62f092e14650ba1a07fa3d0751109933cafe.tar.bz2 rails-e10f62f092e14650ba1a07fa3d0751109933cafe.zip |
Extract shared tests
Diffstat (limited to 'lib/active_file/sites')
-rw-r--r-- | lib/active_file/sites/disk_site.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_file/sites/disk_site.rb b/lib/active_file/sites/disk_site.rb index 7f151ed21b..41b883498a 100644 --- a/lib/active_file/sites/disk_site.rb +++ b/lib/active_file/sites/disk_site.rb @@ -30,7 +30,7 @@ class ActiveFile::Sites::DiskSite < ActiveFile::Site end def delete(key) - File.delete path_for(key) + File.delete path_for(key) rescue Errno::ENOENT # Ignore files already deleted end def exist?(key) |