The files uploaded succesfully using fog to s3 on carrierwave seem to be disappearing automatically.How do I prevent this from happening. The fog public setting is set to true.
Carrier Fog Aws - Files are automatically disappearing from S3
179 Views Asked by coder At
2
For some reason, Carrierwave deletes files not only when the model is deleted, but also when it's updated, even if you don't touch the mounted uploader field. There is supposed to be a config setting
remove_previously_stored_files_after_update
that when set false, prevents this from happening, but I haven't had any luck setting it false – it still deletes my files on model update.