This commit is contained in:
Jimmy 2021-03-04 11:33:27 -08:00
parent 8c230352f9
commit c1fe73df03
3 changed files with 38 additions and 14 deletions

View file

@ -110,6 +110,11 @@ class TicketPurchase < ApplicationRecord
errors.add(:quantity, 'cannot be greater than one for registration tickets.')
end
end
# def has_registration_ticket_for?(conference)
# # BUG: ticket_purchase has only one ticket?
# ticket.try(:registration_ticket?)
# end
end
private