Dan Sadaka
2013-Apr-30 15:36 UTC
Delete original input file after delayed_paperclip processing
Hello all, I am downloading a file from S3 for processing with paperclip and delayed_paperclip. The original downloaded temp file is remaining after processing completes. I''m pretty sure I could add the code to remove this file in the after_post_processing method. However, since the process gets handed over to delayed_paperclip, I do not know how to access the pathname of the original file once processing is complete? Is paperclip storing the pathname in a property somewhere? TIA, Dan -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Apparently Analagous Threads
- Speed up image processing of Paperclip in Acceptance Tests
- [PATCH v4 1/9] lib/osinfo.c: Extract xml processing into a callback
- [PATCH v5 01/10] lib/osinfo.c: Extract xml processing into a callback
- [PATCH v6 01/10] lib/osinfo.c: Extract xml processing into a callback
- [PATCH v3 04/10] lib/osinfo.c: Extract xml processing into a callback