temp
This commit is contained in:
parent
8c230352f9
commit
c1fe73df03
3 changed files with 38 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue