My app uploads a file (via paperclip), and saves the file in
":rails_root/tmp/:id/:basename.:extension". Works perfectly.

After the file is successfully received and saved in tmp, I need to
run a script on it that may take 30-60 seconds. For now I just process
this within the current request cycle.

I know that files stored in tmp will, eventually, be deleted. In my
case, I *want* them to be deleted, after they are processed.


If I wanted to use Delayed Job to process this file, will DJ still
find the file as it is saved in tmp? Consider that the file should be
processed immediately after it is uploaded, there is no need to wait
for some time in the future.
-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.


Reply via email to