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/location.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/location.rb') diff --git a/app/models/location.rb b/app/models/location.rb index e35e5e7..b7c5bf5 100644 --- a/app/models/location.rb +++ b/app/models/location.rb @@ -1,4 +1,6 @@ class Location < ApplicationRecord + include HasWhatnot + has_many :activities validates :gid, :name, presence: true end -- cgit v1.2.3