summaryrefslogtreecommitdiff
path: root/app/models/tournament.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-23 23:30:30 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-23 23:30:30 -0400
commit081b7cb82d5869bc43605223c301f7fed8dd50e2 (patch)
treed6d270ae74564c457e77d49e96c1f55eb331ae2f /app/models/tournament.rb
parent47be7c86ca5193ffe4331fbb9358a9171abe748b (diff)
andrew wants me to push broken code
Diffstat (limited to 'app/models/tournament.rb')
-rw-r--r--app/models/tournament.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/tournament.rb b/app/models/tournament.rb
index 686e066..e21ccb1 100644
--- a/app/models/tournament.rb
+++ b/app/models/tournament.rb
@@ -40,7 +40,6 @@ class Tournament < ActiveRecord::Base
end
def []=(setting_name, val)
- @tournament.save
tournament_setting = @tournament.settings_raw.find_by_name(setting_name)
if tournament_setting.nil?
game_setting = @tournament.game.settings.find_by_name(setting_name)