jrgifford/delayed_paperclip

Undefined method [] for NilClass when process_in_background is not called on an attachment

Opened this issue · 3 comments

After adding delayed_paperclip to my Gemfile, running tests with a validate_attachment_size matcher fails on this line (when running options[:delayed][:only_process]) with a NoMethodError: undefined method '[]' for nil:NilClass for all attachments that do not have process_in_background called on them.

Looks like the same as #114?

I looked at #114 - that looks like it's an issue when process_in_background is called. Also, I'm pretty sure the version I'm running has the fix for #114.

Er, I'm an idiot, #114 is this one. I meant #105, which is not fixed and applies when a particular file is missing process_in_background.