diff options
Diffstat (limited to 'app/models/activity.rb')
-rw-r--r-- | app/models/activity.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/activity.rb b/app/models/activity.rb index be5b573..fb99e1d 100644 --- a/app/models/activity.rb +++ b/app/models/activity.rb @@ -1,4 +1,6 @@ class Activity < ApplicationRecord + include HasWhatnot + belongs_to :location validates :gid, :name, :description, presence: true end |