I have an EventMachine application that I've been working on (
Mad Chatter). It's a chat application which uses em-websocket. I'm new to using EventMachine and relatively new to Ruby in general, so I may be making some (what may seem like obvious) mistakes to some of you more advanced Ruby developers.
I want to add the ability for users to upload files and I'm not sure how to add this sort of feature to my app. Right now, the HTML, CSS, and JavaScript are all being served from WEBrick (or insert web server name here). I've tried to decouple the UI enough that someone could integrate the UI into an existing app. I'm not really dealing with HTTP in my EventMachine app. Up until this point, I've only really cared about the Web Socket communication with my app. Now I need to receive uploads in conjunction with notifying the Web Socket connections of the file upload.
How can I add the ability to receive/manage file uploads with my EventMachine app? I also welcome any constructive criticism of my EventMachine code. =]
--Andrew