aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <mail@zzak.io>2015-06-17 21:25:20 -0400
committerZachary Scott <mail@zzak.io>2015-06-17 21:25:20 -0400
commit2bf05de5ab5ea63eccd819e57200a80c2e6ee8e6 (patch)
tree766a335b7a452c6bade6a9a27cde7b112b101f78
parent56903585a099ab67a7acfaaef0a02db8fe80c450 (diff)
parent576a83c6f1a9e6d1461ab6d98dc225adcc4caf2c (diff)
downloadrails-2bf05de5ab5ea63eccd819e57200a80c2e6ee8e6.tar.gz
rails-2bf05de5ab5ea63eccd819e57200a80c2e6ee8e6.tar.bz2
rails-2bf05de5ab5ea63eccd819e57200a80c2e6ee8e6.zip
Merge pull request #20614 from y-yagi/remove_rails_rack_debugger_from_guide
remove `Rails::Rack::Debugger` from guides [ci skip]
-rw-r--r--guides/source/rails_on_rack.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/rails_on_rack.md b/guides/source/rails_on_rack.md
index 993cd5ac44..117017af90 100644
--- a/guides/source/rails_on_rack.md
+++ b/guides/source/rails_on_rack.md
@@ -68,11 +68,10 @@ def middleware
end
```
-`Rails::Rack::Debugger` is primarily useful only in the development environment. The following table explains the usage of the loaded middlewares:
+The following table explains the usage of the loaded middlewares:
| Middleware | Purpose |
| ----------------------- | --------------------------------------------------------------------------------- |
-| `Rails::Rack::Debugger` | Starts Debugger |
| `Rack::ContentLength` | Counts the number of bytes in the response and set the HTTP Content-Length header |
### `rackup`
@@ -83,7 +82,6 @@ To use `rackup` instead of Rails' `rails server`, you can put the following insi
# Rails.root/config.ru
require ::File.expand_path('../config/environment', __FILE__)
-use Rails::Rack::Debugger
use Rack::ContentLength
run Rails.application
```