Researchers discover how sexually rejected fruit flies learn to spot more receptive females: through the females’ smell.