improving event
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user