Permalink
Browse files

Fix uninitialized constant ActionController::Dispatcher error with Ra…

…ils 1.2.3 [Chris Anderton] [#103 state:resolved]
  • Loading branch information...
macournoyer committed Jul 29, 2009
1 parent aece979 commit dacb5df8bfe9aad74bc79db640b3ae4c2683db27
Showing with 4 additions and 1 deletion.
  1. +3 −0 CHANGELOG
  2. +1 −1 lib/rack/adapter/rails.rb
@@ -1,3 +1,6 @@
== 1.2.3
* Fix uninitialized constant ActionController::Dispatcher error with Rails 1.2.3 [Chris Anderton] [#103 state:resolved]

== 1.2.2 I Find Your Lack of Sauce Disturbing release
* Fix force kill under 1.9 [Alexey Chebotar]
* Fix regression when --only option is used w/ --socket.
@@ -22,7 +22,7 @@ def initialize(options={})

load_application

@rails_app = if ActionController::Dispatcher.instance_methods.include?(:call)
@rails_app = if ActionController.const_defined?(:Dispatcher) && ActionController::Dispatcher.instance_methods.include?(:call)
ActionController::Dispatcher.new
else
CgiApp.new

0 comments on commit dacb5df

Please sign in to comment.