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

9 lines
209 B
Ruby
Raw Normal View History

2015-10-06 13:55:12 -04:00
class LeaderSkill < ActiveRecord::Base
has_paper_trail
2015-10-23 10:57:22 -04:00
validates :description, presence: true,
uniqueness: { case_sensitive: false }
2015-11-03 15:16:26 -05:00
default_scope { order(:description) }
2015-10-06 13:55:12 -04:00
end