Is there a way to get the URL on the Ruby side for the files uploaded to S3?
I have a partial that I’m pulling in with ajax that loops through a load of filenames, something like the following.
filenames.each do |filename|
<%= image_tag filename %>
end
The filename is an image that will show in a slideshow/carousel, these images are uploaded to S3 and I want to get the full path to each image on S3.
I’ve traced this through and have seen how this is done on the front-end in the Ember app but I specifically want to get this on the Ruby side.
Cheers