We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f58871 commit 2075b45Copy full SHA for 2075b45
lib/carrierwave/uploader/store.rb
@@ -125,7 +125,8 @@ def retrieve_from_store!(file_identifier)
125
with_callbacks(:retrieve_from_store, file_identifier) do
126
# We can't retrieve the file if we have no identifier
127
# to retrieve it with. Identifier should be assigned
128
- # when setting up the uploader
+ # when setting up the uploader, or when caching,
129
+ # or storing a new file
130
next unless file_identifier
131
@file = storage.retrieve!(file_identifier)
132
@identifier = file_identifier
0 commit comments