add   get  '/chatroom' => 'chats#room', :as => :chat to config/routes.rb
add   get  '/chatroom' => 'chats#room', :as => :chat to config/routes.rb

gnoll110/faye_rails4_example,gnoll110/faye_rails4_example