From cb798c8caeeec1eb4c44ac8de43b4883348eb0e7 Mon Sep 17 00:00:00 2001 From: Brock Wilcox Date: Wed, 19 Jun 2024 17:42:46 -0400 Subject: [PATCH] Remove outdated comment [#4396] --- app/models/unit.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/unit.rb b/app/models/unit.rb index 979f03b7be..cfe4731589 100644 --- a/app/models/unit.rb +++ b/app/models/unit.rb @@ -10,6 +10,5 @@ # class Unit < ApplicationRecord belongs_to :organization - # This validation prevent duplicates except when creating two units of the same name at the same time (on the organization update page) validates :name, uniqueness: {scope: :organization} end