summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/tournament.rb4
-rw-r--r--app/models/tournament_stage.rb4
2 files changed, 0 insertions, 8 deletions
diff --git a/app/models/tournament.rb b/app/models/tournament.rb
index 46a2ba7..b867716 100644
--- a/app/models/tournament.rb
+++ b/app/models/tournament.rb
@@ -100,10 +100,6 @@ class Tournament < ActiveRecord::Base
@scoring ||= "Scoring::#{self.scoring_method.camelcase}".constantize
end
- def sampling
- @sampling ||= "Sampling::#{self.sampling_method.camelcase}".constantize
- end
-
# YISSSSSS
def scoring_methods
diff --git a/app/models/tournament_stage.rb b/app/models/tournament_stage.rb
index caf5a8a..19b9c23 100644
--- a/app/models/tournament_stage.rb
+++ b/app/models/tournament_stage.rb
@@ -31,10 +31,6 @@ class TournamentStage < ActiveRecord::Base
@scoring ||= tournament.scoring
end
- def sampling
- @sampling ||= tournament.sampling
- end
-
def scheduling
@scheduling ||= "Scheduling::#{self.scheduling_method.camelcase}".constantize.new(self)
end