From b791affde0729dc539fe543931dba46cf520e3fc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 6 Mar 2014 23:59:03 -0500 Subject: add all the has_and_belongs_to_many relations --- app/models/team.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/team.rb') 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 -- cgit v1.2.3-2-g168b