Make open source

This commit is contained in:
John Lees-Miller
2018-10-27 16:46:26 +01:00
commit 6e82ba528b
163 changed files with 3912 additions and 0 deletions

7
app/models/attendee.rb Normal file
View File

@ -0,0 +1,7 @@
#
# A guest or plus one.
#
class Attendee < ApplicationRecord
scope :diet?, -> { where.not(diet: nil) }
scope :child?, -> { where(child: true) }
end