]> projects.mako.cc - selectricity/blob - app/models/quick_voter.rb
Fix full voter addition bug where the regex flunks the trailing \r on middle items...
[selectricity] / app / models / quick_voter.rb
1 class QuickVoter < Voter
2   validates_presence_of :session_id
3
4   # validates_uniqueness_of :session_id
5   # instead we shoudl validate that it's unique for a given election_id
6 end

Benjamin Mako Hill || Want to submit a patch?