Skip to content

Instantly share code, notes, and snippets.

@UsinaSites
UsinaSites / gist:3907050
Created October 17, 2012 17:58 — forked from crossblaim/gist:1623116
process paperclip attachments in the background
# == Schema Information
# you need to add a flag to the model to indicate his processing status
# it defaults to true:
#
# attachment_processing :boolean(1) default(TRUE)
# ...
#
#----------------------------------------------------------------------
class Thing < ActiveRecord::Base