Skip to content

Commit

Permalink
Remove outdated comment [#4396]
Browse files Browse the repository at this point in the history
  • Loading branch information
awwaiid committed Jun 19, 2024
1 parent 5d9bf63 commit cb798c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cb798c8

Please sign in to comment.