Navigation Menu

Skip to content

Commit

Permalink
use ActionDispatch::MiddlewareStack instead of ActionController::Midd…
Browse files Browse the repository at this point in the history
…lewareStack
  • Loading branch information
rafmagana committed May 23, 2012
1 parent 56ad6ca commit 7cabb57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guides/source/rails_on_rack.textile
Expand Up @@ -92,11 +92,11 @@ To find out more about different +rackup+ options:
$ rackup --help
</shell>

h3. Action Controller Middleware Stack
h3. Action Dispatcher Middleware Stack

Many of Action Controller's internal components are implemented as Rack middlewares. +ActionController::Dispatcher+ uses +ActionController::MiddlewareStack+ to combine various internal and external middlewares to form a complete Rails Rack application.
Many of Action Dispatchers's internal components are implemented as Rack middlewares. +Rails::Application+ uses +ActionDispatch::MiddlewareStack+ to combine various internal and external middlewares to form a complete Rails Rack application.

NOTE: +ActionController::MiddlewareStack+ is Rails' equivalent of +Rack::Builder+, but built for better flexibility and more features to meet Rails' requirements.
NOTE: +ActionDispatch::MiddlewareStack+ is Rails' equivalent of +Rack::Builder+, but built for better flexibility and more features to meet Rails' requirements.

h4. Inspecting Middleware Stack

Expand Down

0 comments on commit 7cabb57

Please sign in to comment.