Make open source
This commit is contained in:
7
app/models/attendee.rb
Normal file
7
app/models/attendee.rb
Normal 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
|
Reference in New Issue
Block a user