Deej
Deej

Reputation: 5352

File uploading rails 3

I have a rails 3 app that has a comment system that allows a user to make comments. What I now wish to do is extend this further by enabling the user to attach/upload files to the comment system. Fairly easy question I am about to ask. What is the best tool/plugin or gem to use so that I can achieve this? I've done some thorough research and found that alot of these plugins such as carrierwave, paperclip and a few others are used to upload photos and I am not trying to do this.

Requirements

Upvotes: 0

Views: 2581

Answers (3)

Arun Kumar Arjunan
Arun Kumar Arjunan

Reputation: 6857

You can use even dragonfly - https://github.com/markevans/dragonfly/

Upvotes: 2

bor1s
bor1s

Reputation: 4113

Paperclip

CarrierWave

As for me CarrierWave more modern and nice solution. Have a try.

Upvotes: 2

eugen
eugen

Reputation: 9226

Both carrierwave and paperclip can be used to upload any type of files - they have extra features if you want to upload images, but they are not restricted to handling just image files. In the end it's a matter of preference. I found both paperclip and carrierwave to be very good at what they do.

Upvotes: 2

Related Questions