Merge pull request #1633 from basecamp/overlapping-records

Prevent creating overlapping records
This commit is contained in:
Jorge Manrubia
2025-11-19 11:14:14 +01:00
committed by GitHub
+1 -1
View File
@@ -9,7 +9,7 @@ module User::Notifiable
end
def bundle(notification)
transaction do
with_lock do
find_or_create_bundle_for(notification)
end
end