We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe989a1 commit 8657d22Copy full SHA for 8657d22
README.md
@@ -10,7 +10,7 @@ This is a demo showing how to configure faye to run in your rails app as middlwa
10
gem 'faye'
11
gem 'thin'
12
13
-2. Add a line to `config/application.rb` to use faye middleware
+2. Add a line to `config/application.rb` to use faye middleware (also add to config.ru, heroku may look there)
14
15
config.middleware.use Faye::RackAdapter, :mount => '/faye', :timeout => 25
16
config.ru
@@ -4,4 +4,8 @@
4
5
require ::File.expand_path('../config/environment', __FILE__)
6
7
+use Faye::RackAdapter, :mount => '/faye', :timeout => 25 do |bayeux|
8
+ bayeux.add_extension(FayeJoy.new)
9
+end
+
run Rails.application
0 commit comments