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

7 lines
190 B
Ruby

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