projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Working on a step-by-step workflow audit.
[selectricity]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
index 61286e1c1829c00e5880dacffda74370de7033bb..69038e473946ceddd9a2a23e5fe7dae7571ba31f 100644
(file)
--- a/
app/models/election.rb
+++ b/
app/models/election.rb
@@
-2,6
+2,7
@@
class Election < ActiveRecord::Base
has_many :candidates
has_many :voters
has_many :votes
+ belongs_to :user
validates_presence_of :name, :description
require 'date'
Benjamin Mako Hill
||
Want to submit a patch?