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

8 lines
209 B
Ruby

class LeaderSkill < ActiveRecord::Base
has_paper_trail
validates :description, presence: true,
uniqueness: { case_sensitive: false }
default_scope { order(:description) }
end