summaryrefslogtreecommitdiff
path: root/app/models/match.rb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 23:59:03 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 23:59:03 -0500
commitb791affde0729dc539fe543931dba46cf520e3fc (patch)
treec656dd5b3396257b57b5a8bb574f9fd815de7f6d /app/models/match.rb
parente74879dd4769e8bed34085ee3f978fc4a31366cb (diff)
add all the has_and_belongs_to_many relations
Diffstat (limited to 'app/models/match.rb')
-rw-r--r--app/models/match.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/match.rb b/app/models/match.rb
index 8acebf7..83d2e7b 100644
--- a/app/models/match.rb
+++ b/app/models/match.rb
@@ -1,4 +1,4 @@
class Match < ActiveRecord::Base
belongs_to :tournament
-
+ has_and_belongs_to_many :teams
end