aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/rails_on_rack.md
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-06-18 09:16:11 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-06-18 09:16:11 +0900
commit576a83c6f1a9e6d1461ab6d98dc225adcc4caf2c (patch)
tree766a335b7a452c6bade6a9a27cde7b112b101f78 /guides/source/rails_on_rack.md
parent56903585a099ab67a7acfaaef0a02db8fe80c450 (diff)
downloadrails-576a83c6f1a9e6d1461ab6d98dc225adcc4caf2c.tar.gz
rails-576a83c6f1a9e6d1461ab6d98dc225adcc4caf2c.tar.bz2
rails-576a83c6f1a9e6d1461ab6d98dc225adcc4caf2c.zip
remove `Rails::Rack::Debugger` from guides [ci skip]
Rails::Rack::Debugger was removed in 93559da4826546d07014f8cfa399b64b4a143127
Diffstat (limited to 'guides/source/rails_on_rack.md')
-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
```