cloudinary / cloudinary_gem

Cloudinary GEM for Ruby on Rails integration
https://cloudinary.com
420 stars 285 forks source link

Retrieve file after store #489

Closed david-zw-liu closed 2 years ago

david-zw-liu commented 2 years ago

Brief Summary of Changes

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.

What does this PR address?

Are tests included?

Reviewer, please note:

Checklist:

const-cloudinary commented 2 years ago

@david-liu-950627 , thank you for contribution!