examples/rails_app-2.3.4: move middleware setup to config.ru
commit4770ea6d7a6eaf00cc19bc4fb2afd59071e8cf66
authorEric Wong <normalperson@yhbt.net>
Thu, 12 Nov 2009 03:29:57 +0000 (11 19:29 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 12 Nov 2009 03:29:57 +0000 (11 19:29 -0800)
treec8b19747254a4c0cc48511bfae8b502452e44120
parentcb90269157aeda3655b1a12ea7be4666c98a5e2c
examples/rails_app-2.3.4: move middleware setup to config.ru

config.ru is more obvious and easier to use with non-Rails
applications.  This is true especially if you want to share
the Upr::Monitor object/connection with the upcoming
Upr::Streaming JSON application.
examples/rails_app-2.3.4/config.ru
examples/rails_app-2.3.4/config/environment.rb