diff options
author | Brendon Murphy <xternal1+github@gmail.com> | 2013-01-23 01:47:23 -0800 |
---|---|---|
committer | Brendon Murphy <xternal1+github@gmail.com> | 2013-02-26 00:04:05 -0800 |
commit | 1dc98c143c4bf84ccfb55b30c7d41b29b62d50cf (patch) | |
tree | f3d8f59817cca43e77d7564f4f3a37b95c73fc16 /activerecord/CHANGELOG.md | |
parent | 92aa789ce1ee9d7a2220bb49d22288f292d05367 (diff) | |
download | rails-1dc98c143c4bf84ccfb55b30c7d41b29b62d50cf.tar.gz rails-1dc98c143c4bf84ccfb55b30c7d41b29b62d50cf.tar.bz2 rails-1dc98c143c4bf84ccfb55b30c7d41b29b62d50cf.zip |
cache_key consults updated_on timestamp if present
- Extract max timestamp retrieval for cache_key
- Update changelog for cache_key changes
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index a135b3c91f..d494d41aac 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,13 @@ +* Expand `#cache_key` to consult all relevant updated timestamps. + + Previously only `updated_at` column was checked, now it will + consult other columns that received updated timestamps on save, + such as `updated_on`. When multiple columns are present it will + use the most recent timestamp. + Fixes #9033. + + *Brendon Murphy* + ## Rails 4.0.0.beta1 (February 25, 2013) ## * Fix overriding of attributes by default_scope on `ActiveRecord::Base#dup`. |