Check the following 2 links. They have been really helpfull in my effort to add in a ruby rails application the ability to upload any kind of file to a MySql database. In addition downloading has also been rewarding.
Uploading files with Ruby rails in MySql DB
Downloading files with Ruby rails from MySql DB
Note the following problems i came across. In the rhtml file where the uploading form was, i tried to add
:multipart => true in the start_form_tag of this form. Yet it gave bogus html code for some odd reason, i had to comment it out and write the form tag by hand… By the way i use rails 1.0.0
That’s all for now.
Bye and keep coding.