[refactor] Clean up unused code

This commit is contained in:
Jimmy 2021-03-04 15:47:48 -08:00
parent 189c2ec75f
commit 7d70462542
2 changed files with 3 additions and 8 deletions

View file

@ -110,11 +110,6 @@ 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