chat application using ruby