aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2015-01-06 12:32:27 -0800
committerclaudiob <claudiob@gmail.com>2015-01-06 12:32:27 -0800
commit283326cc61335ec62692dc550e460bb7e20b13b1 (patch)
tree8746e4586518753f026ab3710f6dee4c03409d1a /activesupport/CHANGELOG.md
parent9fe8e19af1db5fe82c83c9af9afc7f59883ee4e4 (diff)
downloadrails-283326cc61335ec62692dc550e460bb7e20b13b1.tar.gz
rails-283326cc61335ec62692dc550e460bb7e20b13b1.tar.bz2
rails-283326cc61335ec62692dc550e460bb7e20b13b1.zip
Better examples for fresh_when and stale?
It is clearer and closer to reality to use `@article.updated_at` as the `:last_modified` parameter of `fresh_when` and `stale?`. Using `@article.created_at` would result in the cache never expiring, since the creation timestamp never changes. [ci skip]
Diffstat (limited to 'activesupport/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions