I have a simple rubyonrails application, in which users can submit their
research projcts. The applcation has the following models:
project: set of predefined fields where users save their project in
member_project: keep track of who submitted what project
member: keep track of members.
I need to provide file uploading facilities with this application so the
users can attach files to their projects. The system should support:
pdf, txt, ps, word : maximum 700 kb
jpg, gif: maximum of 1 MB
Mov, Mpeg, Mpg, and AVI: maximum size of 1.9 MB
I wonder which of acts_as_attachment or file_column are more appropriate
for my application.alos, whether I should save my files in the database
or on the server (considering that I don’t know about Network
Adminstration and don’t know whether I should get some type of write
permission for my APP to be able to do this).
Any suggestion and help is greatly appreciated.
P.S. Is there any open-source application that I can look at to get an
idea of how to do this?