How do I define that the image variants are stored in S3 under the path "variants-image/?

SAUL FELIPE RAMIREZ ROJAS SAUL FELIPE RAMIREZ ROJAS posted on 2023-08-04 04:08:19 UTC

I want to upload images to S3 under the folder /variants-image, but I don't know how to define this key or path. I'm using Active Storage in Rails 7. If anyone knows how to do it, I appreciate your comments.

David Kimura PRO said over 1 year ago :
While it may be annoying with Active Storage, it's probably best to let it handle the folder/file structure within S3. This isn't something that one should be touching in ideal worlds.

Login to Comment
Back to forums