]> projects.mako.cc - selectricity-live/blobdiff - app/models/quick_voter.rb
Merge branch 'master' of git://gitorious.org/~ruinar/selectricity/ruinar-selectricity
[selectricity-live] / app / models / quick_voter.rb
index 7b934a33f37b29442999fd894ea7c5aef3d2cf12..3ea43890cac7113a03fd7b17d8ac34c42178f7ac 100644 (file)
@@ -1,4 +1,13 @@
+# Selectricity: Voting Machinery for the Masses
+# Copyright (C) 2007, 2008 Benjamin Mako Hill <mako@atdot.cc>
+# Copyright (C) 2007 Massachusetts Institute of Technology
+#
+# This program is free software. Please see the COPYING file for
+# details.
+
 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?