diff options
Diffstat (limited to 'app/models/bracket_match.rb')
-rw-r--r-- | app/models/bracket_match.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/bracket_match.rb b/app/models/bracket_match.rb index 823bc40..f9a11f0 100644 --- a/app/models/bracket_match.rb +++ b/app/models/bracket_match.rb @@ -1,5 +1,7 @@ class BracketMatch < ActiveRecord::Base belongs_to :bracket belongs_to :match - belongs_to :predicted_winner + belongs_to :predicted_winner, class_name: "Team" + + end |