My API uses the gem shrine to effect many different types of uploads. Unfortunately during development the files are accumulating in the public/uploads
folder every time I db:drop
of the database and re-runs.
My Factory Girl injects these files through fixtures.
Can every time you run the db:drop
command, delete all files in the public/uploads
folder?