mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-14 00:49:54 +00:00
Ripped state out of Poolbracket
Implicitly added tournament_id to matches generated by Poolbracket Removed explicit tournament assignment at save
This commit is contained in:
@@ -44,7 +44,6 @@ class Tournamentmatchgen
|
||||
def saveMatches
|
||||
@tournament.save!
|
||||
@matches.each do |m|
|
||||
m.tournament_id = @tournament.id
|
||||
m.save
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user