Real time chat with Ruby on Rails and MySQL