chat application - kandan ruby on rails