Forum: Ruby on Rails upload a file to server???

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
sayoyo S. (Guest)
on 2006-03-24 17:31
(Received via mailing list)

We would like to upload a file to the server, like
user chooses a file with a browse button, then click
on a OK button, then the browser send the file to the
server, does anyone know how to do it in rails?

Thanks you very much


The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
Dorian M. (Guest)
on 2006-03-24 17:46
(Received via mailing list)
file_column is a good general choice, if you want to attach a file to a
model (e.g an illustration of a product, a user portrait etc...)

This topic is locked and can not be replied to.