diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/location.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/location.rb b/app/models/location.rb index 8816274..e35e5e7 100644 --- a/app/models/location.rb +++ b/app/models/location.rb @@ -1,3 +1,4 @@ class Location < ApplicationRecord + has_many :activities validates :gid, :name, presence: true end |