16 lines
265 B
Ruby
Raw Normal View History

2024-07-11 20:08:26 +02:00
class Guest < ApplicationRecord
acts_as_taggable_on :affinity_groups, :unbreakable_bonds
belongs_to :group
2024-08-11 19:24:24 +02:00
enum status: {
considered: 0,
invited: 10,
confirmed: 20,
declined: 30
}
2024-07-11 20:13:22 +02:00
def full_name
"#{first_name} #{last_name}"
end
2024-07-11 20:08:26 +02:00
end