]> projects.mako.cc - selectricity/blobdiff - app/models/quick_voter.rb
minor fixes to the templates
[selectricity] / app / models / quick_voter.rb
index 7b934a33f37b29442999fd894ea7c5aef3d2cf12..1a2daf66f057733ae1a38c65c5ac0331c1ef1ad8 100644 (file)
@@ -1,4 +1,6 @@
 class QuickVoter < Voter
   validates_presence_of :session_id
-  validates_uniqueness_of :session_id
+
+  # validates_uniqueness_of :session_id
+  # instead we shoudl validate that it's unique for a given election_id
 end

Benjamin Mako Hill || Want to submit a patch?