projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed the detailed results so that they return anonymized results in
[selectricity]
/
app
/
models
/
ranking.rb
diff --git
a/app/models/ranking.rb
b/app/models/ranking.rb
index 4b96b54c2060e5d8053c313a8975b901635e9042..ba021a92c5489369e75b92094ffe549ccf5c1730 100644
(file)
--- 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
Benjamin Mako Hill
||
Want to submit a patch?