# Non-Image Upload

**URL:** <https://www.ruby-forum.com/t/non-image-upload/173036>\
**Category:** Rails\
**Created:** [July 31, 2009, 8:18pm UTC](https://www.ruby-forum.com/t/non-image-upload/173036 "2009-07-31T20:18:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![archangel77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@archangel77](https://www.ruby-forum.com/u/archangel77)\
**Post date:** [July 31, 2009, 8:18pm UTC](https://www.ruby-forum.com/t/non-image-upload/173036/1 "2009-07-31T20:18:56Z")

</div>

I’m new with Rails and I’ve been searching for a way to upload files  
using Rails. I’ve only found plug-ins and tutorials for images.

Do you know any website/plu-ing/etc that can help me with non-image  
file uploads?

Thanks,  
Gabriel.

---

<div class="post-metadata">

**Author:** ![archangel77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@archangel77](https://www.ruby-forum.com/u/archangel77)\
**Post date:** [July 31, 2009, 11:26pm UTC](https://www.ruby-forum.com/t/non-image-upload/173036/2 "2009-07-31T23:26:13Z")

</div>

I really like Paperclip. It’s a great plugin, and Ryan B. (of  
railscasts fame) has a great screencast on how to use it:

> **[\#134 Paperclip - RailsCasts](http://railscasts.com/episodes/134-paperclip)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

It’ll do just about anything. In all the cases I’ve used it, it’s  
“tied” to a model. For example, one place I use it is to upload PDF  
documents for inventory on our company’s website. The model for said  
inventory has a series of Paperclip fields. This allows my non-  
technical people to update the database, and upload new manuals, all  
through an updater application I wrote for them to do it all with.

Alternatively, there’s attachment\_fu, which also works well. The main  
difference (as far as I can tell, somebody feel free to correct me if  
I’m wrong) is that attachment\_fu requires its own model for tracking  
files, whereas Paperclip does not.

So if you know you’ll only have X file attachments on a model, go  
Paperclip. If you want as many attachments as possible for a model  
and don’t care about dealing with a separate model for those  
attachments, go attachment\_fu.

On Jul 31, 12:17 pm, Gabriel B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
