summaryrefslogtreecommitdiff
path: root/app/models/match.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-25 17:30:10 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-25 17:30:10 -0400
commit0c22c4bd9a0b4a0b0ff5840c1af41c0b320e3529 (patch)
tree2fc2082814e513ec5d68b22e7fa07d268df6d788 /app/models/match.rb
parent8435c0a5ec9889a9da6ede2e24c044d64b279095 (diff)
added match status
Diffstat (limited to 'app/models/match.rb')
-rw-r--r--app/models/match.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/match.rb b/app/models/match.rb
index 782dce8..bb814c1 100644
--- a/app/models/match.rb
+++ b/app/models/match.rb
@@ -1,8 +1,4 @@
class Match < ActiveRecord::Base
belongs_to :tournament
-
- has_and_belongs_to_many :teams
-
- belongs_to :winner, class_name: "Team"
-
+ belongs_to :winner
end