- if @voter = FullVoter.find_all( [ "password = ?", password ] )[0]
- render :action => 'fullvote'
+ 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'