Hi Folks, I'm sure tons of people are gonna ruin a whole drawer of their best panties over this one.
Rick Olson worked on the mongrel_upload_progress gem, documentation and examples and has almost everything you need to do progress tracked file uploads using just Mongrel to handle the upload. This means that Rails (or any other framework) isn't blocked while the upload happens, and that the user gets nice status. Here's Rick's blog post: http://weblog.techno-weenie.net/2006/9/4/mongrel-upload-progress-documentation You can watch a snazzy video of Rick playing with it at: http://s3.amazonaws.com/techno-weenie-screencasts/mongrel_drb.mov Then you can read the instructions and get sample code from: http://mongrel.rubyforge.org/docs/upload_progress.html Which includes installation instructions, sample rhtml forms, javascript, and Rails actions to get you started. It's not limited to Rails though, that's just the example Rick did, since, well, Rick does Rails. This is still early, so patches and suggestions are welcome. And everyone should thank Rick and _why_t_l_s for working on this with me at RailsConf, and especially Rick for doing the heavy lifting of integrating it with Rails and documenting it. WRITING PLUGINS The m_u_p gem is also a good example of writing a fairly complex plugin for Mongrel that is easy to install. Take a look if you want to do similar fancy hackery. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help. _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users