diff options
author | David Gay <david@davidgay.org> | 2021-05-02 20:21:04 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-02 20:21:04 -0400 |
commit | 2b32a88a8e9f1d0bb5055843ac987d9cb9981803 (patch) | |
tree | 19bf361b7cbb69ae493cc02d07f0fae2cf6da928 /app | |
parent | 5fe4e8f4a080e02dfc4e4adabd09d6f5c7e38f40 (diff) |
Add Activities
Diffstat (limited to 'app')
-rw-r--r-- | app/models/activity.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/activity.rb b/app/models/activity.rb new file mode 100644 index 0000000..2f93564 --- /dev/null +++ b/app/models/activity.rb @@ -0,0 +1,3 @@ +class Activity < ApplicationRecord + validates :gid, :name, :description, presence: true +end |