From 8dc6c48db5262217c657e24019b860cd05bd206a Mon Sep 17 00:00:00 2001 From: "Stanko K.R." Date: Tue, 9 Dec 2025 17:30:42 +0100 Subject: [PATCH] Remove composite cache key This prevents jbuilder from fetching multiple records at once, but it's no longer needed as the column and board touch all their associated cards on update so we can remove it --- app/views/cards/_card.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cards/_card.json.jbuilder b/app/views/cards/_card.json.jbuilder index 709b035f1..77422c05c 100644 --- a/app/views/cards/_card.json.jbuilder +++ b/app/views/cards/_card.json.jbuilder @@ -1,4 +1,4 @@ -json.cache! [ card, card.column&.color ] do +json.cache! card do json.(card, :id, :number, :title, :status) json.description card.description.to_plain_text json.description_html card.description.to_s