diff options
author | David Gay <david@davidgay.org> | 2021-05-03 18:37:26 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-03 18:37:26 -0400 |
commit | aa25545eb204d0ca842ab948af4c27cb217352d6 (patch) | |
tree | 89bf44a06f4adf953899561f84ed22830dc2bc13 /app/models | |
parent | 23178917e0d415ac17aab9a8077a124c3254f124 (diff) |
Locations views
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 |