Get a Free Trial
GrabzIt's Online Community

Store generated PDF on s3 with Ruby active storage

Ask questions on how to capture or convert web pages or HTML into images, MP4. CSV, PDF or DOCX documents as well on how to convert videos into animated GIF's using our API.

There are no forum posts on this topic! Why don't you write one?

The title actually says it all...

 

How do I send a generated PDF to Amazon S3, using Rails active storage?

 

Ideally asynchronously.

Thanks!

B

Asked by anonymous on the 13th of May 2020

Hi,

I haven't used Rails Active Storage before. However I believe you would need to get the capture then upload it so you would need to use our Ruby callback handler. This would ensure it is asynchronous.

Note that if you want to just export to Amazon S3 you can use our built in export functionality

Answered by GrabzIt Support on the 22nd of May 2020