X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c5fda1e5174238779afd496014379d6446d1e3c1..3096416bbb8fdc92d7619aecc8237a57532d9066:/app/models/ranking.rb?ds=inline diff --git a/app/models/ranking.rb b/app/models/ranking.rb index 4b96b54..ba021a9 100644 --- a/app/models/ranking.rb +++ b/app/models/ranking.rb @@ -6,4 +6,8 @@ class Ranking < ActiveRecord::Base self.rank <=> other.rank end + def to_s + self.rank.to_s + end + end