removed superfluous experiment function
This commit is contained in:
parent
0d7a42ae64
commit
d9ebd07ac0
1 changed files with 0 additions and 4 deletions
|
|
@ -75,10 +75,6 @@ class Ticket < ApplicationRecord
|
|||
|
||||
private
|
||||
|
||||
def get_price_currency
|
||||
'GBP'
|
||||
end
|
||||
|
||||
def tickets_of_conference_have_same_currency
|
||||
tickets = Ticket.where(conference_id: conference_id)
|
||||
return if tickets.count.zero? || (tickets.count == 1 && self == tickets.first)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue