sockets chat application in rails