Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fix rule title reference

Zach Gollwitzer71be2a04add6
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