Manuel Bustillo c6ee1c0d8a
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 1m17s
Run unit tests / unit_tests (pull_request) Successful in 2m22s
Build Nginx-based docker image / build-static-assets (pull_request) Has been cancelled
Remove references to acts_as_taggable_on gem
2024-11-01 19:12:34 +01:00

18 lines
264 B
Ruby

# Copyright (C) 2024 Manuel Bustillo
class Guest < ApplicationRecord
belongs_to :group
enum status: {
considered: 0,
invited: 10,
confirmed: 20,
declined: 30,
tentative: 40,
}
def full_name
"#{first_name} #{last_name}"
end
end