aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2018-12-13 13:08:49 -0500
committerGannon McGibbon <gannon.mcgibbon@gmail.com>2018-12-27 01:39:43 -0600
commit94ecf95674f81c5590c8f08549208907b81e3bf8 (patch)
tree07da284fc15dc25fa893737a6161e579bce65f68 /activesupport/CHANGELOG.md
parent3a3a3d607eb2f706c117926015d2cb6ef6599ded (diff)
downloadrails-94ecf95674f81c5590c8f08549208907b81e3bf8.tar.gz
rails-94ecf95674f81c5590c8f08549208907b81e3bf8.tar.bz2
rails-94ecf95674f81c5590c8f08549208907b81e3bf8.zip
Preserve key order passed to ActiveSupport::CacheStore#fetch_multi
fetch_multi(*names) now returns its results in the same order as the `*names` requested, rather than returning cache hits followed by cache misses.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index ba8aaf47f9..da122c7ace 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Preserve key order passed to `ActiveSupport::CacheStore#fetch_multi`.
+
+ `fetch_multi(*names)` now returns its results in the same order as the `*names` requested, rather than returning cache hits followed by cache misses.
+
+ *Gannon McGibbon*
+
* If the same block is `included` multiple times for a Concern, an exception is no longer raised.
*Mark J. Titorenko*, *Vlad Bokov*