From 9b69acad228bb6d208a2495e1856e46dbcd991f5 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 17 Mar 2023 09:06:30 -0700 Subject: [PATCH] Clear counter cache on remix (#87) --- 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