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

6 lines
171 B
Ruby
Raw Normal View History

2015-10-06 13:55:12 -04:00
class Rarity < ActiveRecord::Base
validates :name, presence: true,
uniqueness: { case_sensitive: false }
validates :description, presence: true
end