diff options
author | Alex Johnson <notalexjohnson@gmail.com> | 2013-11-13 13:33:53 +0530 |
---|---|---|
committer | Alex Johnson <notalexjohnson@gmail.com> | 2013-11-13 13:35:10 +0530 |
commit | ea5d3544d2bd47ee40301c4c280935c321e7c5a8 (patch) | |
tree | cde3da96504056086d5d65d959ef34d30d45fbd5 /guides/source | |
parent | 006f710361f86c81bbcbb04e12aae78d04651622 (diff) | |
download | rails-ea5d3544d2bd47ee40301c4c280935c321e7c5a8.tar.gz rails-ea5d3544d2bd47ee40301c4c280935c321e7c5a8.tar.bz2 rails-ea5d3544d2bd47ee40301c4c280935c321e7c5a8.zip |
Remove outdated guide on using rack builder w/o rails middleware
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/rails_on_rack.md | 20 |
1 files changed, 0 insertions, 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`. - -<strong>Clear the existing Rails middleware stack</strong> - -```ruby -# config/application.rb -config.middleware.clear -``` - -<br> -<strong>Add a `config.ru` file to `Rails.root`</strong> - -```ruby -# config.ru -use MyOwnStackFromScratch -run Rails.application -``` - Resources --------- |