Dynamic storage service support for Active Storage

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Dynamic storage service support for Active Storage

Mark Pitsilos
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,


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e713faab-6587-43ba-99a3-156173f84c9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.