Closed david-zw-liu closed 2 years ago
Try to fix the problem, that model.image.file will be nil even if the file is uploaded. Calling retrieve_from_store! after store! called can populate @file and @identifier variable. So that will fix this problem.
model.image.file
retrieve_from_store!
store!
@file
@identifier
@david-liu-950627 , thank you for contribution!
Brief Summary of Changes
Try to fix the problem, that
model.image.file
will be nil even if the file is uploaded. Callingretrieve_from_store!
afterstore!
called can populate@file
and@identifier
variable. So that will fix this problem.What does this PR address?
Are tests included?
Reviewer, please note:
Checklist: