diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2016-04-19 13:11:48 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2016-04-19 13:11:48 -0300 |
commit | 1782a8dd1ec12731b732ac2563ab9120cd8c5ad6 (patch) | |
tree | 6ddf49dde69bea2811daa055be8bdd449280e831 /guides/source | |
parent | 2d744fee9c05285a4fceb0ac8430a3e6db3ec19a (diff) | |
parent | 3f2831cd46ade370d9f71f42155bf5e2ce7e02ce (diff) | |
download | rails-1782a8dd1ec12731b732ac2563ab9120cd8c5ad6.tar.gz rails-1782a8dd1ec12731b732ac2563ab9120cd8c5ad6.tar.bz2 rails-1782a8dd1ec12731b732ac2563ab9120cd8c5ad6.zip |
Merge pull request #24632 from vipulnsward/rm-reference-to-method
Remove reference to unknown method `dirty?` in docs [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/api_app.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md index 8dba914923..e50a24ce55 100644 --- a/guides/source/api_app.md +++ b/guides/source/api_app.md @@ -79,8 +79,6 @@ Handled at the middleware layer: code. All you need to do is use the [`stale?`](http://api.rubyonrails.org/classes/ActionController/ConditionalGet.html#method-i-stale-3F) check in your controller, and Rails will handle all of the HTTP details for you. -- Caching: If you use `dirty?` with public cache control, Rails will automatically - cache your responses. You can easily configure the cache store. - HEAD requests: Rails will transparently convert `HEAD` requests into `GET` ones, and return just the headers on the way out. This makes `HEAD` work reliably in all Rails APIs. |