2015-10-06 13:55:12 -04:00
|
|
|
class LeaderSkill < ActiveRecord::Base
|
2015-10-09 16:45:53 -04:00
|
|
|
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
|