1
0
Fork 0
dokkan-data-rails/app/models/character.rb

4 lines
133 B
Ruby

class Character < ActiveRecord::Base
validates :name, presence: true,
uniqueness: { case_sensitive: false }
end