improving event

This commit is contained in:
2023-01-16 18:59:07 +02:00
parent cb54951037
commit 37164b534d
8 changed files with 60 additions and 81 deletions

View File

@ -1,6 +1,7 @@
class Profile < ApplicationRecord
belongs_to :member
has_many :events
validates :name , presence: true
validates :kind , presence: true
validates :bio , presence: true