lib/carrierwave/uploader/proxy.rb in carrierwave-3.0.5 vs lib/carrierwave/uploader/proxy.rb in carrierwave-3.0.6

- old
+ new

@@ -38,13 +38,13 @@ # The purpose is to mark the column that it will be updated. Finally before the save it will be # overwritten by the #identifier value, which is usually #filename. # # === Returns # - # [String] a temporary_identifier, by default @original_filename is used + # [String] a temporary_identifier, by default the value of #cache_name is used # def temporary_identifier - @original_filename || @identifier + cache_name || @identifier end ## # Read the contents of the file #