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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.