Gareth Connop
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in Soft Delete with Paranoia Discussion
Hi Chris, Great video as always.
I'm trying to prevent the users avatar being fully deleted, when the soft delete occurs. I've read documentation to suggest that adding has_attached_file :avatar, preserve_files: true but this doesn't seem to work. I was hoping that you may have an idea why?
Thanks
Gareth