From 136b86453000aa6ad3a099efb96d85232eb2eeb5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 22 Apr 2014 15:43:07 -0400 Subject: tidy --- app/models/team.rb | 1 - app/models/tournament.rb | 8 -------- 2 files changed, 9 deletions(-) (limited to 'app') diff --git a/app/models/team.rb b/app/models/team.rb index 7aae7c2..77136e7 100644 --- a/app/models/team.rb +++ b/app/models/team.rb @@ -1,5 +1,4 @@ class Team < ActiveRecord::Base - belongs_to :match has_and_belongs_to_many :matches has_and_belongs_to_many :users end diff --git a/app/models/tournament.rb b/app/models/tournament.rb index 73c8d93..822e641 100644 --- a/app/models/tournament.rb +++ b/app/models/tournament.rb @@ -26,14 +26,6 @@ class Tournament < ActiveRecord::Base end class Settings - @vartypes = { - :true_false => 0, - :integer => 1, - :string => 2, - :select => 3, - :range => 4 - } - def initialize(tournament) @tournament = tournament end -- cgit v1.2.3-2-g168b