Image resizing, or other post-processing of Paperclip attachments, can be a long running task in some scenarios. Luckily for us, it’s pretty simple to hook on to Paperclip and run the heavy parts as a background job. This example goes through a normal photo upload.