Currently I'm working with delayed\_job to process pdf files and I need to know if a file has been processed. 

Once completed I need to change a value in the database to notify the user that their file has been processed correctly.

I'm using delayed\_job with mongoid and paperclip as processor.