1
0
Fork 0

Order leader skills alphabetically

This commit is contained in:
Andrew Tomaka 2015-11-03 15:16:26 -05:00
parent 59384c0b85
commit 8bef784209

View file

@ -3,4 +3,6 @@ class LeaderSkill < ActiveRecord::Base
validates :description, presence: true, validates :description, presence: true,
uniqueness: { case_sensitive: false } uniqueness: { case_sensitive: false }
default_scope { order(:description) }
end end