Dynamic storage service support for Active Storage

14 views
Skip to first unread message

Mark Pitsilos

unread,
Apr 1, 2018, 3:51:26 PM4/1/18
to Ruby on Rails: Talk
Is there a way to declare a the storage service (disk / s3 / other) dynamically or on a per model / attribute level?
As far as I know, in e.g. carrierwave supports dynamic storage selection on the Uploader level, whereas paperlip supports it on the model / attribute level.

Also, what if I want all my images to be on cloudinary but the rest of my files should be on s3?
Can active storage support this scenario?

Thanks in advance,

Mark

Reply all
Reply to author
Forward
0 new messages