Questions tagged [carrierwaver]

1 questions
0
votes
1 answer

How do I dynamically choose fog provider when interacting with the storage?

I have a simple rails model which contains an image. The images are currently stored at AWS S3, but I need to move them to to Backblaze. I have an uploader class which looks like this too: class CarImage < ApplicationRecord VALID_BACKENDS = [:s3,…
Niels Kristian
  • 8,661
  • 11
  • 59
  • 117