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
This commit is contained in:
Stanko K.R.
2025-12-09 17:30:42 +01:00
parent cbbddf9ffe
commit 8dc6c48db5
+1 -1
View File
@@ -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