search for: after_post_processing

Displaying 2 results from an estimated 2 matches for "after_post_processing".

2013 Apr 30
0
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 t...
2012 Jul 07
18
Problem processing text file after uploading
I''ve got a web-app currently partially working. The user uploads a .txt, .docx or .doc file to the server. Currently the model handles those files, saves some metadata (the extention and orig filename) then saves the file to the hard drive. Next it converts the doc and docx files to plain text and saves the output to a txt file. My problem is I want to copy the plain text contents of