aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2019-04-22 08:38:25 -0400
committerGitHub <noreply@github.com>2019-04-22 08:38:25 -0400
commit759c8d58c796ae670f3fc17a35766540f5740ecf (patch)
treeb6fd641abe7a74cd2a8368f84436a866f619075c
parent2db5895a5e8880915dfab08bd02f60a8ff2ad223 (diff)
parent88c195bf81adda5758dfc9b86e2ac79daf9fd2e0 (diff)
downloadrails-759c8d58c796ae670f3fc17a35766540f5740ecf.tar.gz
rails-759c8d58c796ae670f3fc17a35766540f5740ecf.tar.bz2
rails-759c8d58c796ae670f3fc17a35766540f5740ecf.zip
Merge pull request #36040 from st0012/update-changelog-for-35145
Update changelog to explain the fix of #35114 [ci skip]
-rw-r--r--actionview/CHANGELOG.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index be67aff543..f465e08859 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,14 @@
+* Fix partial caching skips same item issue
+
+ If we render cached collection partials with repeated items, those repeated items
+ will get skipped. For example, if you have 5 identical items in your collection, Rails
+ only renders the first one when `cached` is set to true. But it should render all
+ 5 items instead.
+
+ This fixes #35114
+
+ *Stan Lo*
+
* Only clear ActionView cache in development on file changes
To speed up development mode, view caches are only cleared when files in