Can someone help on implementing soft deletion for Rails Active storage Blobs and Attachments.
I am using acts_as_paranoid gem for other models, but how to use this in Active storage blobs and attachments.
How to overwrite this model?
Thanks in Advance.
So I've got a possible solution that seems to work. I would appreciate any feedback as it doesn't feel particularly solid.
In my app
Employees
havefiles
and I want to be able to archive the employee, then get their files back when restoring the Employee record.