From a7da824537fd91e0270656b9bc62fdcf9122ff67 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Thu, 30 Oct 2025 13:57:21 -0400 Subject: [PATCH] Disable broken activity tracking (#604) --- app/models/physical_mail.rb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/models/physical_mail.rb b/app/models/physical_mail.rb index 49d6511..912cdff 100644 --- a/app/models/physical_mail.rb +++ b/app/models/physical_mail.rb @@ -2,12 +2,11 @@ class PhysicalMail < ApplicationRecord belongs_to :user include PublicActivity::Model - tracked only: [ :create, :update ], owner: :user, params: proc { |controller, model| - { - mission_type: model.mission_type, - humanized_mission_type: model.humanized_mission_type - } - } + + # tracked only: [ :update ], owner: :user, params: { + # mission_type: ->(controller, model) { model.mission_type }, + # humanized_mission_type: ->(controller, model) { model.humanized_mission_type } + # } after_create :create_streak_activity, if: :first_time_7_streak? after_update :create_sent_activity, if: :became_sent?