I currently have a hideous delay based chat app in my learning management system (rails based) but want to explore other options. The jabber approach seems cool, and there is can_has_chat, but on their google code page there is a notice about the potential for trouble with many sleeping mongrel instances. Doesn't seem like a good way to go really.
I'd be keen to hear from others what they've used to solve this problem?