]> projects.mako.cc - selectricity/blob - app/models/quick_voter.rb
updated top the the new version of attachment_fu plugin to work out some
[selectricity] / app / models / quick_voter.rb
1 # Selectricity: Voting Machinery for the Masses
2 # Copyright (C) 2007, 2008 Benjamin Mako Hill <mako@atdot.cc>
3 # Copyright (C) 2007 Massachusetts Institute of Technology
4 #
5 # This program is free software. Please see the COPYING file for
6 # details.
7
8 class QuickVoter < Voter
9   validates_presence_of :session_id
10
11   # validates_uniqueness_of :session_id
12   # instead we shoudl validate that it's unique for a given election_id
13 end

Benjamin Mako Hill || Want to submit a patch?