From 6fd5aa8c271df14b2759b35ac6816d061691d3c5 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 17 Mar 2023 09:07:51 -0700 Subject: [PATCH] Clear counter cache on remix (#87) (#88) --- app/models/party.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/party.rb b/app/models/party.rb index fda7ef1..2dde088 100644 --- a/app/models/party.rb +++ b/app/models/party.rb @@ -66,6 +66,10 @@ class Party < ApplicationRecord ##### Amoeba configuration amoeba do + set weapons_count: 0 + set characters_count: 0 + set summons_count: 0 + nullify :description nullify :shortcode