Add reminder feature
This commit is contained in:
7
app/models/reminder.rb
Normal file
7
app/models/reminder.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class Reminder < ApplicationRecord
|
||||
belongs_to :user
|
||||
|
||||
validates :title, presence: true
|
||||
validates :body, presence: true
|
||||
validates :date, presence: true
|
||||
end
|
Reference in New Issue
Block a user