lib/carrierwave/storage/file.rb in carrierwave-1.2.2 vs lib/carrierwave/storage/file.rb in carrierwave-1.2.3
- old
+ new
@@ -5,9 +5,13 @@
# File storage stores file to the Filesystem (surprising, no?). There's really not much
# to it, it uses the store_dir defined on the uploader as the storage location. That's
# pretty much it.
#
class File < Abstract
+ def initialize(*)
+ super
+ @cache_called = nil
+ end
##
# Move the file to the uploader's store path.
#
# By default, store!() uses copy_to(), which operates by copying the file