Llcqpct

Paperclip reprocess attachments: Too many open files

by: GIANNA FUSARO

November 06, 2016 Need to reprocess a bunch of paperclip attachments, but running into the 'Too Many Open Files' exception? Here's a workaround using find_in_batches to quickly reprocess each group in a background job.