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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user