Closed bdsword closed 9 years ago
@bdsword Shouldn't this be raised in carrierwave
gem as it handles the uploading & saving of files part?
Thank you for your prompt reply.
After some research, the extra save!
seems a restriction, and it's the only solution for this problem.
I guess there is no way to put this extra save!
inside crop_image.
`cause it's inside after_update callback.
So I'll keep using the extra save!
.
Close #13
As mention here,when you are generating random unique filenames,
recreate_versions!
doesn't save the new filename to the database.So I have to call save! by myself after update_attributes
Is there a better solution?