views:

154

answers:

3

I would like to know, how to upload documents like word, pdf using Rails. Can I use paperclip for it?

+3  A: 

Yes. Paperclip can be used for any file uploads

Kevin Sylvestre
+1  A: 

You can also checkout AttachmentFu, but Paperclip is the deFacto standard for this type of operation.

ThinkBohemian
A: 

excuse me guys, I just saw this forum because I need to do exactly the same, upload PDF's to a DB, I'm gonna try with attachmentfu, do u have ay example or website where can I see how to do it??, thanks to all of u

jcho360
http://trevorturk.com/2007/03/25/working-with-attachment_fu/. I used Paperclip. It was very simple. http://github.com/thoughtbot/paperclip
Felix