From 662a1ad49881ce66fa2d08889eda3a8f49310af7 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Tue, 17 Mar 2015 09:34:36 -0400 Subject: [PATCH] Revert "Still trying to generate matches from tournament." This reverts commit e3a1323d39ba484909d09289795a4eef76ef6f00. --- app/models/tournament.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/tournament.rb b/app/models/tournament.rb index 808a20b..ea79a6b 100644 --- a/app/models/tournament.rb +++ b/app/models/tournament.rb @@ -15,7 +15,6 @@ class Tournament < ActiveRecord::Base @wrestlers = self.wrestlers self.weights.sort_by{|x|[x.max]}.each do |weight| @upcomingMatches = generateMatchups(@matches,@wrestlers,weight) - @matches = @upcomingMatches end @upcomingMatches = assignBouts(@upcomingMatches) return @upcomingMatches