# Amazon S3 Plug-In for Rails?

**URL:** <https://www.ruby-forum.com/t/amazon-s3-plug-in-for-rails/71015>\
**Category:** Rails\
**Created:** [October 4, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/amazon-s3-plug-in-for-rails/71015 "2006-10-04T17:52:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [October 4, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/amazon-s3-plug-in-for-rails/71015/1 "2006-10-04T17:52:48Z")

</div>

Well, according to the Basecamp forums, 37signals are planning on using  
S3  
for future storage from their Rails apps for customer data.

We use S3 with great success from a Rails app.

I’m curious - are there any S3 plug-ins out there or anyone with plans  
for  
one? Our support is very tailored to our need and not really suitable  
for an  
extraction without some re-work.

We might do it if no one else has something going?

Hunter

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [October 4, 2006, 7:12pm UTC](https://www.ruby-forum.com/t/amazon-s3-plug-in-for-rails/71015/2 "2006-10-04T19:12:59Z")

</div>

Hi Hunter,

I havn’t seen any S3 plugins for simple file storage.

This would be interesting - I’m pretty much in the same boat that you  
are. Using S3, but in a very implementation-specific way.

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [October 5, 2006, 2:57am UTC](https://www.ruby-forum.com/t/amazon-s3-plug-in-for-rails/71015/3 "2006-10-05T02:57:36Z")

</div>

As far as I know there’s no S3 plugin, but the Ruby libs provided by  
Amazon for use with S3 are so simple that you could easily make such a  
plugin yourself, or just use the S3 lib directly in a model. I’m not  
using S3 right this minute on any Rails projects (though I’m going to  
begin to add S3 support to a major app in a week or two) but I was able  
to hack TextMate’s blogging bundle (which is written in Ruby) to use S3  
instead of my weblog server’s file upload feature in an afternoon.

[http://practicalmadness.com/2006/07/fun\_with\_textmate\_and\_amazon\_s](http://practicalmadness.com/2006/07/fun_with_textmate_and_amazon_s)

For my Big Project almost all of my S3-served files will be associated  
with records in the DB, so the S3 code will be going into a model. Like  
I said, the S3 libs are super-easy, and before you decide to invest any  
time in a plugin (vs. using the libs directly) you should look at how  
you plan to use S3 and decide where it makes the most sense to put the  
code.

- DD

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [October 5, 2006, 11:58am UTC](https://www.ruby-forum.com/t/amazon-s3-plug-in-for-rails/71015/4 "2006-10-05T11:58:23Z")

</div>

HH wrote:

> I’m curious - are there any S3 plug-ins out there or anyone with plans for  
> one? Our support is very tailored to our need and not really suitable for an  
> extraction without some re-work.

There are two implementations: first is plugin from Amazon, which can  
be found in Amazon developers resources. Second is gem s33r  
([http://rubyforge.org/projects/s33r/](http://rubyforge.org/projects/s33r/)). Currently I’m using first one,  
but looking at s33r.
