From 8abfaf4ce71dff7294424a7cb37efe4db5e0d581 Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Mon, 28 Apr 2014 01:49:11 -0400 Subject: Made Round Robin Work (but it makes too many rounds for 1v1s right now) --- app/models/team.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app') diff --git a/app/models/team.rb b/app/models/team.rb index 77136e7..828d168 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -1,4 +1,6 @@ class Team < ActiveRecord::Base has_and_belongs_to_many :matches has_and_belongs_to_many :users + + alias_attribute :players, :users end -- cgit v1.2.3