Skip to content

Commit

Permalink
Merge pull request #24632 from vipulnsward/rm-reference-to-method
Browse files Browse the repository at this point in the history
Remove reference to unknown method `dirty?` in docs [ci skip]
  • Loading branch information
spastorino committed Apr 19, 2016
2 parents 2d744fe + 3f2831c commit 1782a8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions guides/source/api_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1782a8d

Please sign in to comment.