5 lines
171 B
Ruby
5 lines
171 B
Ruby
class Rarity < ActiveRecord::Base
|
|
validates :name, presence: true,
|
|
uniqueness: { case_sensitive: false }
|
|
validates :description, presence: true
|
|
end
|