# Chat software

**URL:** <https://www.ruby-forum.com/t/chat-software/189873>\
**Category:** Rails\
**Created:** [June 9, 2010, 10:04am UTC](https://www.ruby-forum.com/t/chat-software/189873 "2010-06-09T10:04:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [June 9, 2010, 10:04am UTC](https://www.ruby-forum.com/t/chat-software/189873/1 "2010-06-09T10:04:43Z")

</div>

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 …

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [June 9, 2010, 11:25am UTC](https://www.ruby-forum.com/t/chat-software/189873/2 "2010-06-09T11:25:27Z")

</div>

Hemant B. 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

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [June 9, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/chat-software/189873/3 "2010-06-09T18:19:40Z")

</div>

You can look at juggernaut @ [http://juggernaut.rubyforge.org/](http://juggernaut.rubyforge.org/).

~Naren

On Wed, Jun 9, 2010 at 2:55 PM, Greg Ma [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

–  
~N a r e n
