diff --git a/app/models/tournament.rb b/app/models/tournament.rb index cf7d525..027bc1e 100644 --- a/app/models/tournament.rb +++ b/app/models/tournament.rb @@ -8,13 +8,14 @@ class Tournament < ActiveRecord::Base serialize :matchups_array def upcomingMatches - if self.matchups_array - return matchupHashesToObjects(self.matchups_array) - else - @matches = generateMatchups - saveMatchups(@matches) - return @matches - end + @matches = generateMatchups + # if self.matchups_array + # return matchupHashesToObjects(self.matchups_array) + # else + # @matches = generateMatchups + # saveMatchups(@matches) + # return @matches + # end end def generateMatchups