aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-07 13:28:46 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-07 13:28:46 -0300
commit2e3e171e311d158cd22e70f1760f3c5c35729e6c (patch)
treeac3dff62dd1b3fdef0a509c4447d9bc617e81fdd /activerecord/CHANGELOG.md
parentd3adfd6d3b6bb07f4e4d56b017eff1ff740523ff (diff)
parent1dc98c143c4bf84ccfb55b30c7d41b29b62d50cf (diff)
downloadrails-2e3e171e311d158cd22e70f1760f3c5c35729e6c.tar.gz
rails-2e3e171e311d158cd22e70f1760f3c5c35729e6c.tar.bz2
rails-2e3e171e311d158cd22e70f1760f3c5c35729e6c.zip
Merge pull request #9105 from bemurphy/cache_key_updated_on
cache_key consults updated_on timestamp if present Conflicts: activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 4c594cc19b..3b140b9ec3 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,15 @@
## Rails 4.0.0 (unreleased) ##
+* 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*
+
* Throw `NotImplementedError` when trying to instantiate `ActiveRecord::Base` or an abstract class.
*Aaron Weiner*