Add reminder feature

This commit is contained in:
2020-02-12 13:57:03 +01:00
parent 9ec7b3ef50
commit e4a317111c
26 changed files with 414 additions and 3 deletions

7
app/models/reminder.rb Normal file
View File

@ -0,0 +1,7 @@
class Reminder < ApplicationRecord
belongs_to :user
validates :title, presence: true
validates :body, presence: true
validates :date, presence: true
end