aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-04-19 21:37:50 +0530
committerVipul A M <vipulnsward@gmail.com>2016-04-19 21:37:50 +0530
commit3f2831cd46ade370d9f71f42155bf5e2ce7e02ce (patch)
tree30ade6a44e551a8696688991eadbb16ecc6b253c /guides
parent976410709997b69a2c33fd912a8665d85ab1f2c9 (diff)
downloadrails-3f2831cd46ade370d9f71f42155bf5e2ce7e02ce.tar.gz
rails-3f2831cd46ade370d9f71f42155bf5e2ce7e02ce.tar.bz2
rails-3f2831cd46ade370d9f71f42155bf5e2ce7e02ce.zip
Remove reference to unknown method `dirty?` to docs
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/api_app.md2
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.