From 82fa2b72be613713d42b451e0d1801904b4580e8 Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 5 May 2021 18:39:27 -0400 Subject: Symbolize whatnot keys --- app/models/skill.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/skill.rb') diff --git a/app/models/skill.rb b/app/models/skill.rb index b77165b..f97bb39 100644 --- a/app/models/skill.rb +++ b/app/models/skill.rb @@ -1,3 +1,5 @@ class Skill < ApplicationRecord + include HasWhatnot + validates :gid, :name, :description, presence: true end -- cgit v1.2.3