From 71be2a04add66e1fc86ca2de922039d1f8e8bcdb Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Wed, 7 May 2025 14:10:56 -0400 Subject: [PATCH] Fix rule title reference --- app/models/rule/action_executor/auto_categorize.rb | 2 +- app/models/rule/action_executor/auto_detect_merchants.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/rule/action_executor/auto_categorize.rb b/app/models/rule/action_executor/auto_categorize.rb index 72ff324e..e1d8a50f 100644 --- a/app/models/rule/action_executor/auto_categorize.rb +++ b/app/models/rule/action_executor/auto_categorize.rb @@ -11,7 +11,7 @@ class Rule::ActionExecutor::AutoCategorize < Rule::ActionExecutor enrichable_transactions = transaction_scope.enrichable(:category_id) if enrichable_transactions.empty? - Rails.logger.info("No transactions to auto-categorize for #{rule.title} #{rule.id}") + Rails.logger.info("No transactions to auto-categorize for #{rule.id}") return end diff --git a/app/models/rule/action_executor/auto_detect_merchants.rb b/app/models/rule/action_executor/auto_detect_merchants.rb index cc523303..87c04682 100644 --- a/app/models/rule/action_executor/auto_detect_merchants.rb +++ b/app/models/rule/action_executor/auto_detect_merchants.rb @@ -11,7 +11,7 @@ class Rule::ActionExecutor::AutoDetectMerchants < Rule::ActionExecutor enrichable_transactions = transaction_scope.enrichable(:merchant_id) if enrichable_transactions.empty? - Rails.logger.info("No transactions to auto-detect merchants for #{rule.title} #{rule.id}") + Rails.logger.info("No transactions to auto-detect merchants for #{rule.id}") return end