On the contrary, I homebrewed file upload because I had issues with
file_column. I probably wrote about 15 lines of code, most of them in
the model. I’m willing to share, if anyone wants the code.
Web Services - KCKCC
[email protected] 3/29/2006 12:00 PM >>>
Google for the file_column plugin. It handles many of the minutae like
figuring out where in the filesystem to store the files, handling the
form field gracefully when it comes to updating the database record that
references it, etc., all through a one-line declaration in the model and
a string (varchar) field for the filename. And if they’re image files,
it’s got hooks into RMagick, ImageMagick, etc. for creating and caching
resized and otherwise processed versions of the image.
Not perfect but applicable to most situations and a whole lot easier
than reinventing the wheel.