Chat software

1 view
Skip to first unread message

Hemant Bhargava

unread,
Jun 9, 2010, 4:04:43 AM6/9/10
to rubyonra...@googlegroups.com
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 ..
--
Posted via http://www.ruby-forum.com/.

Greg Ma

unread,
Jun 9, 2010, 5:25:27 AM6/9/10
to rubyonra...@googlegroups.com
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

Narendra sisodiya

unread,
Jun 9, 2010, 12:05:41 PM6/9/10
to rubyonra...@googlegroups.com
You can look at juggernaut @ http://juggernaut.rubyforge.org/

~Naren


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
~N a r e n
Reply all
Reply to author
Forward
0 new messages