How to make file upload

Hi, guys, I’m learning to use Rails.

I want to add a file upload(.rar,.zip file only) funtion in my Web
application.
After upload, the file name will be renamed randomly and then store the
URL of file in “file_path” column of database.
How to do this with Rails?

Thanks in advance!

Devine

Attachment-fu: http://www.clarkware.com/cgi/blosxom/2007/02/24

Zach I.
→ Blog — http://www.zachinglis.com
→ Company — http://www.lt3media.com
→ Portfolio — http://portfolio.zachinglis.com

take a look at http://uploadcolumn.rubyforge.org/

Devine A. wrote:

Hi, guys, I’m learning to use Rails.

I want to add a file upload(.rar,.zip file only) funtion in my Web
application.
After upload, the file name will be renamed randomly and then store the
URL of file in “file_path” column of database.
How to do this with Rails?

Thanks in advance!

Devine

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs