Some of the nation 's most divisive social issues -- gay marriage , abortion and affirmative action -- went before voters Tuesday as 36 states passed judgment on ballot measures as well as candidates .