aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/api_app.md
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2016-05-14 09:54:23 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2016-05-14 09:54:23 +0000
commit83ecf3fe56f0c4b89cc5f2c5bdab6e0e7d26b7a1 (patch)
tree899a536f2c978f6349a48932a2da1c0cc8b84c4a /guides/source/api_app.md
parent4046ac7e88dfcd9089e602ad0d6196bc8efc46a6 (diff)
parent26e59e686c2553035ad3f7c50089b79c93d07f38 (diff)
downloadrails-83ecf3fe56f0c4b89cc5f2c5bdab6e0e7d26b7a1.tar.gz
rails-83ecf3fe56f0c4b89cc5f2c5bdab6e0e7d26b7a1.tar.bz2
rails-83ecf3fe56f0c4b89cc5f2c5bdab6e0e7d26b7a1.zip
Merge branch 'master' of github.com:rails/docrails
Conflicts: guides/source/configuring.md
Diffstat (limited to 'guides/source/api_app.md')
-rw-r--r--guides/source/api_app.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md
index cad8d53f31..485294dc02 100644
--- a/guides/source/api_app.md
+++ b/guides/source/api_app.md
@@ -289,7 +289,7 @@ You can learn more about how to use `Rack::Sendfile` with popular
front-ends in [the Rack::Sendfile
documentation](http://rubydoc.info/github/rack/rack/master/Rack/Sendfile).
-Here are some values for popular servers, once they are configured, to support
+Here are some values for this header for some popular servers, once these servers are configured to support
accelerated file sending:
```ruby
@@ -395,6 +395,13 @@ included into `ActionController::API` in the rails console:
```bash
$ bin/rails c
>> ActionController::API.ancestors - ActionController::Metal.ancestors
+=> [ActionController::API,
+ ActiveRecord::Railties::ControllerRuntime,
+ ActionDispatch::Routing::RouteSet::MountedHelpers,
+ ActionController::ParamsWrapper,
+ ... ,
+ AbstractController::Rendering,
+ ActionView::ViewPaths]
```
### Adding Other Modules