diff --git a/app/models/awaken_type.rb b/app/models/awaken_type.rb index 3caf9cd..b5edcab 100644 --- a/app/models/awaken_type.rb +++ b/app/models/awaken_type.rb @@ -1,5 +1,6 @@ class AwakenType < ActiveRecord::Base has_paper_trail - validates :name, presence: true + validates :name, presence: true, + uniqueness: { case_sensitive: false } end