jrgifford / delayed_paperclip

Process your Paperclip attachments in the background with delayed_job or Resque.
http://www.jstorimer.com/ruby/2010/01/30/delayed-paperclip.html
MIT License
402 stars 155 forks source link

Production issue using sidekiq #157

Closed Najtmare closed 8 years ago

Najtmare commented 9 years ago

Hi,

Has anyone ran into an issue running delayed_paperclip with sidekiq in production spitting job errors like:

ActiveRecord::RecordNotFound: Couldn't find Video with 'id'=1

Works fine in development mode. But I cannot get it to work in production. Not sure if this is an issue with sidekiq or delayed_paperclip...

It also works fine with say, delayed_job. Both in dev and production. Any other job enqueued with Sidekiq, on that same record, works fine. So something leads me to believe that this is an issue with delayed_paperclip. Any help is greatly appreciated.