This commit is contained in:
2024-11-17 15:25:49 -05:00
parent 4934c26c9a
commit eab3494b40
16 changed files with 171 additions and 0 deletions

6
app/models/invitation.rb Normal file
View File

@@ -0,0 +1,6 @@
class Invitation < ApplicationRecord
validates :name, length: {maximum: 64}
validates :attending, inclusion: { in: ["yes", "no"] }
validates :additional_guest, length: {maximum: 64}
end