Manuel Bustillo 7338bbf0a8
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 7m14s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 57m52s
Include an additional tentative status
2024-10-27 19:25:24 +01:00

17 lines
285 B
Ruby

class Guest < ApplicationRecord
acts_as_taggable_on :affinity_groups, :unbreakable_bonds
belongs_to :group
enum status: {
considered: 0,
invited: 10,
confirmed: 20,
declined: 30,
tentative: 40,
}
def full_name
"#{first_name} #{last_name}"
end
end