diff options
Diffstat (limited to 'app/models/ability.rb')
-rw-r--r-- | app/models/ability.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb new file mode 100644 index 0000000..5b7e8b4 --- /dev/null +++ b/app/models/ability.rb | |||
@@ -0,0 +1,5 @@ | |||
1 | class Ability < ApplicationRecord | ||
2 | validates :name, presence: true, uniqueness: true | ||
3 | |||
4 | validates :description, presence: true | ||
5 | end | ||