From f2feb92b9c3fc5a9f30422369e0ba7f4cd8a0105 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 17 Mar 2023 08:52:16 -0700 Subject: [PATCH] Clear counter cache on remix --- 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