summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:43:07 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:43:07 -0400
commit136b86453000aa6ad3a099efb96d85232eb2eeb5 (patch)
treeb14e5b1ec51367d2e135e0dfae7ce7121ad076ad /app/models
parent474a048ae4a4fae86e7fde93745f0ea79c7ed717 (diff)
tidy
Diffstat (limited to 'app/models')
-rw-r--r--app/models/team.rb1
-rw-r--r--app/models/tournament.rb8
2 files changed, 0 insertions, 9 deletions
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