Skip to content
This repository
Browse code

Remove outdated guide on using rack builder w/o rails middleware

[ci skip]
  • Loading branch information...
commit ea5d3544d2bd47ee40301c4c280935c321e7c5a8 1 parent 006f710
Alex notalex authored

Showing 1 changed file with 0 additions and 20 deletions. Show diff stats Hide diff stats

  1. +0 20 guides/source/rails_on_rack.md
20 guides/source/rails_on_rack.md
Source Rendered
@@ -318,26 +318,6 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol
318 318
319 319 TIP: It's possible to use any of the above middlewares in your custom Rack stack.
320 320
321   -### Using Rack Builder
322   -
323   -The following shows how to replace use `Rack::Builder` instead of the Rails supplied `MiddlewareStack`.
324   -
325   -<strong>Clear the existing Rails middleware stack</strong>
326   -
327   -```ruby
328   -# config/application.rb
329   -config.middleware.clear
330   -```
331   -
332   -<br>
333   -<strong>Add a `config.ru` file to `Rails.root`</strong>
334   -
335   -```ruby
336   -# config.ru
337   -use MyOwnStackFromScratch
338   -run Rails.application
339   -```
340   -
341 321 Resources
342 322 ---------
343 323

0 comments on commit ea5d354

Please sign in to comment.
Something went wrong with that request. Please try again.