From 9cce1ea2fd02e8050350c4657e7cc7f1902b8694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 10 Dec 2012 16:22:30 -0300 Subject: Allow users to choose the timestamp format in the cache key This can be done using the class attribute cache_timestamp_format Conflicts: railties/guides/source/configuring.textile --- activerecord/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 02aced31c9..d4e3a33002 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,12 @@ ## Rails 4.0.0 (unreleased) ## +* Add `ActiveRecord::Base.cache_timestamp_format` class attribute to control + the format of the timestamp value in the cache key. + This allows users to improve the precision of the cache key. + Fixes #8195. + + *Rafael Mendonça França* + * Fix decorating columns for serialized attributes. Fixes #8441 *itzki* -- cgit v1.2.3