Skip to content

Commit

Permalink
Deviation adaption because of reduced number of games that count
Browse files Browse the repository at this point in the history
  • Loading branch information
shageman committed Oct 20, 2012
1 parent c4592f8 commit 7491fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/player.rb
Expand Up @@ -6,11 +6,11 @@ class Player < ActiveRecord::Base
validates_uniqueness_of :name

def self.ranked_players
where("deviation < 100").order("(mean - deviation) DESC")
where("deviation < 250").order("(mean - deviation) DESC")
end

def self.unranked_players
where("deviation >= 100").order("(mean - deviation) DESC")
where("deviation >= 250").order("(mean - deviation) DESC")
end

def underscored_name
Expand Down

0 comments on commit 7491fe9

Please sign in to comment.