diff --git a/app/models/concerns/account_cache_revalidator.rb b/app/models/concerns/account_cache_revalidator.rb index 21dcf0d63..32d7500f8 100644 --- a/app/models/concerns/account_cache_revalidator.rb +++ b/app/models/concerns/account_cache_revalidator.rb @@ -2,7 +2,7 @@ module AccountCacheRevalidator extend ActiveSupport::Concern included do - after_commit :update_account_cache + after_commit :update_account_cache, on: [:create, :update] end def update_account_cache