From ea5d3544d2bd47ee40301c4c280935c321e7c5a8 Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Wed, 13 Nov 2013 13:33:53 +0530 Subject: [PATCH] Remove outdated guide on using rack builder w/o rails middleware [ci skip] --- guides/source/rails_on_rack.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/guides/source/rails_on_rack.md b/guides/source/rails_on_rack.md index acab7a151c..b42c8fb81b 100644 --- a/guides/source/rails_on_rack.md +++ b/guides/source/rails_on_rack.md @@ -318,26 +318,6 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol TIP: It's possible to use any of the above middlewares in your custom Rack stack. -### Using Rack Builder - -The following shows how to replace use `Rack::Builder` instead of the Rails supplied `MiddlewareStack`. - -Clear the existing Rails middleware stack - -```ruby -# config/application.rb -config.middleware.clear -``` - -
-Add a `config.ru` file to `Rails.root` - -```ruby -# config.ru -use MyOwnStackFromScratch -run Rails.application -``` - Resources ---------