X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/c5fda1e5174238779afd496014379d6446d1e3c1..4efa3e9bc47cc649205a399fde51ed7e61bef7f8:/app/models/ranking.rb 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