- if @voter = Voter.find_all( [ "password = ?", password ] )[0]
- render :action => 'vote'
+ if @voter = FullVoter.find(:all, :conditions => [ "password = ?", password ] )[0]
+ @voter.vote = Vote.new if @voter.vote.nil?
+ @voter.vote.set_defaults! if @voter.vote.rankings.empty?
+ render :action => 'full_vote'