Can someone clear up this issue with file uploads for me? I have the code
from Mongrel Upload Progress (
http://mongrel.rubyforge.org/docs/upload_progress.html) running, but
I''m a
little confused at how to integrate this into my app. Should I roll the
controller methods in the controller I want to use or do you handle the file
uploads and then somehow push the rest of the form data to the other
controller? Doing the first option sounds best, but then if there are
multiple views that need uploads, I would need to add more handlers to the
mongrel upload_progress conf file.
What''s the best way to handle errors in this case? Specifically, if
there''s
an error in the form, it would be much faster to find that error and send
back an error message, rather than waiting for files to upload then
processing the form.
Anyone have any ideas?
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/mongrel-users/attachments/20070515/eab920de/attachment.html