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/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You can look at juggernaut @ http://juggernaut.rubyforge.org/. ~Naren On Wed, Jun 9, 2010 at 2:55 PM, Greg Ma <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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 > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- ~N a r e n -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.