Hello, I need to be able to write a temporary file for use during the
Locally I can use the following successfully:
tempfile = File.open(a.original_filename,'w') tempfile.write_nonblock(a.body) paperclip stuff........ tempfile.close
That works great, but not on Heroku… How can I do the above with
I’m not understanding how to translate the above into:
Thanks for any help you can provide here.