diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-10 16:22:30 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-10 17:48:26 -0300 |
commit | 9cce1ea2fd02e8050350c4657e7cc7f1902b8694 (patch) | |
tree | e0df45bbb185069b959ed59976475aa580cb4e6c /activerecord/CHANGELOG.md | |
parent | 3142bf51ee7afff880b4eb837434dae874b47491 (diff) | |
download | rails-9cce1ea2fd02e8050350c4657e7cc7f1902b8694.tar.gz rails-9cce1ea2fd02e8050350c4657e7cc7f1902b8694.tar.bz2 rails-9cce1ea2fd02e8050350c4657e7cc7f1902b8694.zip |
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
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
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* |