What is the significance of eating black-eyed peas and cabbage for New Year's?

I have heard that it is for luck and money. Which one is which and where did the tradition come from?
6 answers 6