Attach 1 or more (non image) files to rails application, with having to install an image-processing

Posted by Hinchy on Stack Overflow See other posts from Stack Overflow or by Hinchy
Published on 2010-03-15T10:39:44Z Indexed on 2010/03/15 10:49 UTC
Read the original article Hit count: 214

Hi all,

I'm currently learning rails by creating a simple project management app. I've gotten to the point where I would like to be allow a user upload multiple files - pdfs, docs, xls etc. The user only needs to be able to attach one file at a time, but the possibilty to have multiple documents associated with a project is a must.

I've spent quite a lot of time researching my options, and it appears the two main plugins are attachment_fu and paperclip. From what I've read though, these appear to concentrate specifically on the upload and subsequent resizing of images, something I couldn't care less about. Is there a simpler way to achieve what I'm trying?

Thank you all in advance.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about attachments