projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a series of files so that elections can be created and edited and
[selectricity]
/
app
/
models
/
candidate.rb
diff --git
a/app/models/candidate.rb
b/app/models/candidate.rb
index 41d743b3a55ed07c0184605cbba600ba2ebc5c84..44a4d63ff4660f6558d8146bf1c6801d3627e3ba 100644
(file)
--- a/
app/models/candidate.rb
+++ b/
app/models/candidate.rb
@@
-1,2
+1,3
@@
class Candidate < ActiveRecord::Base
+ belongs_to :election
end
Benjamin Mako Hill
||
Want to submit a patch?