projects
/
selectricity
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Working on a step-by-step workflow audit.
[selectricity]
/
app
/
models
/
candidate.rb
1
class Candidate < ActiveRecord::Base
2
belongs_to :election
3
4
def <=>(other)
5
self.name <=> other.name
6
end
7
8
def to_s
9
name
10
end
11
12
end
Benjamin Mako Hill
||
Want to submit a patch?