- working party

- working friend
- working attendent
This commit is contained in:
2025-11-22 20:59:19 +01:00
parent e51d911bd0
commit 6b96c100a5
12 changed files with 66 additions and 22 deletions

View File

@ -1,4 +1,7 @@
class Friend < ApplicationRecord
has_many :attendents
has_many :parties, through: :attendents
validates :firstname, :lastname, :email, :telefon, presence: true
def fullname