]> projects.mako.cc - selectricity-live/blobdiff - app/models/quick_voter.rb
Big commit includes:
[selectricity-live] / app / models / quick_voter.rb
index 7b934a33f37b29442999fd894ea7c5aef3d2cf12..1a2daf66f057733ae1a38c65c5ac0331c1ef1ad8 100644 (file)
@@ -1,4 +1,6 @@
 class QuickVoter < Voter
   validates_presence_of :session_id
 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
 end

Benjamin Mako Hill || Want to submit a patch?