From ab829c4491da1b45d03cf561c9d86e7d05c0ae7e Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Wed, 17 Apr 2019 11:11:13 +0200 Subject: [PATCH] Remove unused evaluated_match_result method --- app/models/match.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/models/match.rb b/app/models/match.rb index 10ba8ea..1f9b99d 100644 --- a/app/models/match.rb +++ b/app/models/match.rb @@ -11,18 +11,6 @@ class Match < ApplicationRecord validate :stage_xor_group - def evaluate_match_result - if match_scores.first == match_scores.second - if group_match? - :undecided - else - :in_progress - end - else - :finished - end - end - private def stage_xor_group