From d9ebd07ac05f25b4e64ffac5c91d0d659065004c Mon Sep 17 00:00:00 2001 From: Edward Phillips Date: Sat, 13 Jul 2019 23:46:24 +0200 Subject: [PATCH] removed superfluous experiment function --- app/models/ticket.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/ticket.rb b/app/models/ticket.rb index 9ab4df61..48a6ed58 100644 --- a/app/models/ticket.rb +++ b/app/models/ticket.rb @@ -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)