From 3eb5ec2a2e22cb8a4d916df41c815b156fbc9d73 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Tue, 30 Sep 2025 09:06:07 +0200 Subject: [PATCH] Fix caching issue We need to pass an array so that it derives the relation key from the last updated record in the association --- app/views/collections/show/_stream.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/collections/show/_stream.html.erb b/app/views/collections/show/_stream.html.erb index 67e77dcd0..b48c90bb7 100644 --- a/app/views/collections/show/_stream.html.erb +++ b/app/views/collections/show/_stream.html.erb @@ -1,4 +1,4 @@ -<% cache page.records do %> +<% cache [ page.records ] do %>