You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
I am using Paranoia for soft-delete, and use preserve_files to make them work together.
However, there is a problem when I want to perform a real delete (e.g really_destroy!) the files are not deleted! It means that useless files will stay there forever.
Then I looked at the code of Attachment, I understood why it happened:
I am using Paranoia for soft-delete, and use
preserve_files
to make them work together.However, there is a problem when I want to perform a real delete (e.g
really_destroy!
) the files are not deleted! It means that useless files will stay there forever.Then I looked at the code of Attachment, I understood why it happened:
It's because files are never queued to delete!
The text was updated successfully, but these errors were encountered: