projects
/
selectricity-live
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Major changes in this commit over include work over several days but that was never...
[selectricity-live]
/
app
/
models
/
ranking.rb
1
class Ranking < ActiveRecord::Base
2
belongs_to :candidate
3
belongs_to :vote
4
5
def <=>(other)
6
self.rank <=> other.rank
7
end
8
9
end
Benjamin Mako Hill
||
Want to submit a patch?