For the above 5 lines, you could have `@vote = current_vote || @parent.votes.new(:user => current_user)`