sam
sam

Reputation: 19

Live chat in ruby on rails application

Can anyone suggest me the approach of implementing the live chat functionality in my ruby on rails application? Is there any plugin exists to implement this functionality?

Thanks

Upvotes: 0

Views: 2818

Answers (2)

Jeff Swensen
Jeff Swensen

Reputation: 3573

A very simple (possibly not very efficient) implementation would involve using AJAX to send new messages and receive conversation updates. The conversation could be a database backed object shared amongst the users involved. Each user's page would then poll for updates to that object.

Upvotes: 0

Preston Marshall
Preston Marshall

Reputation: 1195

Yes, Juggernaut. Unfortunately it requires flash, but it works pretty well otherwise. You might also want to look at the WebSockets standard, as there is flash emulation for it in browsers that don't support it yet.

Upvotes: 1

Related Questions