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

Added split processing option #62

Closed jebw closed 10 years ago

jebw commented 11 years ago

I've added the option to process some styles in the foreground and some in the background, by setting :only_process on both has_attached_file and process_in_background.

The actual code changes are minimal and there's a test for the additional functionality.

The use case I have in mind is handling video - you want the thumbnail created immediately, but need to delay the video conversion because it'll take a while.

tdgs commented 10 years ago

this is merged already, right? here: https://github.com/jrgifford/delayed_paperclip/commit/a898f49e58bb06c1066f275fb1829df1d0f303cf

ScotterC commented 10 years ago

handled in https://github.com/jrgifford/delayed_paperclip/pull/79