style: correct coding style with rubocop linter

This commit is contained in:
kbe
2025-09-05 12:02:44 +02:00
parent 46c8faf10c
commit 15e3c7dff5
40 changed files with 121 additions and 1663 deletions

View File

@@ -4,9 +4,9 @@ class ExpiredOrdersCleanupJob < ApplicationJob
def perform
# Find and expire all draft orders that have passed their expiry time
expired_orders = Order.expired_drafts
Rails.logger.info "Found #{expired_orders.count} expired orders to process"
expired_orders.find_each do |order|
begin
order.expire_if_overdue!
@@ -17,7 +17,7 @@ class ExpiredOrdersCleanupJob < ApplicationJob
next
end
end
Rails.logger.info "Completed expired orders cleanup job"
end
end