# Ruby S3 URL helper

**URL:** <https://meta.discourse.org/t/ruby-s3-url-helper/51923>\
**Category:** Product Support\
**Created:** [October 23, 2016, 12:59pm UTC](https://meta.discourse.org/t/ruby-s3-url-helper/51923 "2016-10-23T12:59:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![arrancscott](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arrancscott/32/50191_2.png) [@arrancscott](https://meta.discourse.org/u/arrancscott)\
**Post date:** [October 23, 2016, 12:59pm UTC](https://meta.discourse.org/t/ruby-s3-url-helper/51923/1 "2016-10-23T12:59:29Z")

</div>

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

---

_[View the full topic](https://meta.discourse.org/t/ruby-s3-url-helper/51923)._
