Ruby on Rails Tuesday, April 30, 2013

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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment