From 3f2831cd46ade370d9f71f42155bf5e2ce7e02ce Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Tue, 19 Apr 2016 21:37:50 +0530 Subject: [PATCH] Remove reference to unknown method `dirty?` to docs [ci skip] --- guides/source/api_app.md | 2 -- 1 file changed, 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.