Maybe the better question is when does hydroxide act as a base vs. nucleophile? In a gem-diol rxn under basic conditions -OH acts as a :nu attacking carbonyl carbon. In an aldol condensation the -OH functions as a :nu and abstracts alpha H. I haven't had an aldol condensation question where I've also had the conditions (acidic vs basic). How do you predict how -OH behaves?