I think it depends on how much you hate the spinach compared to how much you love the ice cream. People's memories of an experience are strongly affected by the last bit, so the love of the ice cream may do quite a bit to overwrite the memory of hating spinach. Almost certainly not enough to affect feelings about spinach, but probably enough to not interfere with love of mother.
This is our monthly thread for collecting these little gems and pearls of wisdom, rationality-related quotes you've seen recently, or had stored in your quotesfile for ages, and which might be handy to link to in one of our discussions.