projects
/
selectricity
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
cf61519
)
Merge from jdong
author
John Dong
<jdong@mit.edu>
Wed, 29 Aug 2007 15:29:49 +0000
(11:29 -0400)
committer
John Dong
<jdong@mit.edu>
Wed, 29 Aug 2007 15:29:49 +0000
(11:29 -0400)
app/models/quick_vote.rb
patch
|
blob
|
history
diff --git
a/app/models/quick_vote.rb
b/app/models/quick_vote.rb
index bd390519331e5e2d62c82d69223e9f5397daf664..e0bab76fccf4a8654dffabb461eb105aadd6a1fd 100644
(file)
--- a/
app/models/quick_vote.rb
+++ b/
app/models/quick_vote.rb
@@
-2,7
+2,6
@@
class QuickVote < Election
before_validation :build_candidate_names
after_validation :create_candidates
validates_uniqueness_of :name
- validates_presence_of :name
attr_accessor :candidate_names
attr_accessor :reviewed
Benjamin Mako Hill
||
Want to submit a patch?