Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks
8.78k
stars
1.65k
forks
source link
Migrating from paperclip to carrierwave using previous paperclip attachment uploaded to amazon S3 #2741
Open
senaxor opened 1 month ago
my paperclip attachments urls are in this format: "https://static.tagmond.com/static.tagmond.com/stores/banners/000/000/032/original/cover_large_app_2.jpg"
so i added
in my store_banner_uploader.rb so here in my carrierwave.rb: require 'carrierwave/storage/fog'
actually my question is how to set these three host, endpoint and fog_directory ??