diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 23:59:03 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-06 23:59:03 -0500 |
commit | b791affde0729dc539fe543931dba46cf520e3fc (patch) | |
tree | c656dd5b3396257b57b5a8bb574f9fd815de7f6d /app/models/team.rb | |
parent | e74879dd4769e8bed34085ee3f978fc4a31366cb (diff) |
add all the has_and_belongs_to_many relations
Diffstat (limited to 'app/models/team.rb')
-rw-r--r-- | app/models/team.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/team.rb b/app/models/team.rb index 9e71557..2348de5 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -1,3 +1,5 @@ class Team < ActiveRecord::Base belongs_to :match + has_and_belongs_to_many :matches + has_and_belongs_to_many :users end |