You should definitely look into posting the file directly to S3 instead of
effectively uploading the file twice, once to your Rails app and then again
to S3.
Gabriel
On Thursday, April 24, 2014 3:18:26 PM UTC-7, Anand Soni wrote:
>
> Hi I am trying to write file in heroku as per the file system
You might check out the carrierwave_backgrounder gem:
https://github.com/lardawge/carrierwave_backgrounder
It might be a good reference even if you don't use it.
On Thu, Apr 24, 2014 at 3:22 PM, Daniel Farina wrote:
> On Thu, Apr 24, 2014 at 3:18 PM, Anand Soni wrote:
>> Hi I am trying to write
On Thu, Apr 24, 2014 at 3:18 PM, Anand Soni wrote:
> Hi I am trying to write file in heroku as per the file system allowed in
> heroku. I want to do my audio file upload to S3 async manner, so I am using
> delayed_job for that. what I am doing is I am first writing content into
> file and then cre
Hi I am trying to write file in heroku as per the file system allowed in
heroku. I want to do my audio file upload to S3 async manner, so I am using
delayed_job for that. what I am doing is I am first writing content into
file and then create a job which will upload to S3 then delete file crea