mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-26 00:29:40 +02:00
Fix rule title reference
This commit is contained in:
parent
a67f36bf64
commit
71be2a04ad
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ class Rule::ActionExecutor::AutoCategorize < Rule::ActionExecutor
|
||||||
enrichable_transactions = transaction_scope.enrichable(:category_id)
|
enrichable_transactions = transaction_scope.enrichable(:category_id)
|
||||||
|
|
||||||
if enrichable_transactions.empty?
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ class Rule::ActionExecutor::AutoDetectMerchants < Rule::ActionExecutor
|
||||||
enrichable_transactions = transaction_scope.enrichable(:merchant_id)
|
enrichable_transactions = transaction_scope.enrichable(:merchant_id)
|
||||||
|
|
||||||
if enrichable_transactions.empty?
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue