Forum: Ruby on Rails How to make file upload

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C4f94bdc4593913a3e493afbe14cf957?d=identicon&s=25 Devine Ackman (ackiae86)
on 2007-05-13 15:53
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
Df4978da52459529e539da4c995918cb?d=identicon&s=25 Zach Inglis // LT3media (Guest)
on 2007-05-13 17:09
(Received via mailing list)
Attachment-fu: http://www.clarkware.com/cgi/blosxom/2007/02/24

Zach Inglis
→ Blog — http://www.zachinglis.com
→ Company — http://www.lt3media.com
→ Portfolio — http://portfolio.zachinglis.com
15858fbf2415754bf7524e02e5df1469?d=identicon&s=25 adam (Guest)
on 2007-05-13 17:17
take a look at http://uploadcolumn.rubyforge.org/

Devine Ackman 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 topic is locked and can not be replied to.