From 0e3d25707c2609798a552ca2d712a212636cac90 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Mon, 15 Sep 2025 14:00:56 +0200 Subject: [PATCH] Debug the overlapping bundle --- app/models/notification/bundle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/notification/bundle.rb b/app/models/notification/bundle.rb index de42f23ba..c2da4224a 100644 --- a/app/models/notification/bundle.rb +++ b/app/models/notification/bundle.rb @@ -59,7 +59,7 @@ class Notification::Bundle < ApplicationRecord def validate_no_overlapping if overlapping_bundles.exists? - errors.add(:base, "Bundle window overlaps with an existing pending bundle") + errors.add(:base, "Bundle window overlaps with an existing pending bundle with id #{overlapping_bundles.first.id}") end end