Chat software

Hello All,

I want to create an chat software using ruby on rails. It would be just
like gtalk only. I mean logged in users can see that who else are online
and then they can talk to them. So can you guys tell me that from where
can i start this. Tutorials, Examples, Plugins etc ..

Hemant Bhargava wrote:

Hello All,

I want to create an chat software using ruby on rails. It would be just
like gtalk only. I mean logged in users can see that who else are online
and then they can talk to them. So can you guys tell me that from where
can i start this. Tutorials, Examples, Plugins etc ..

I did something similar in Rails. I don't have tutorial but I have give
you idea that can help.

To check how many user are online, I update a user column to see when
was his last query. And if the user hasn't made any query for 30sec I
consider he is not online anymore.

For the conversation part, I use Ajax to check each X seconds if there's
a new message.

Greg

You can look at juggernaut @ http://juggernaut.rubyforge.org/.

~Naren