Best CC for airline miles?

The title says it all. Which credit card is the best for rewarding purchases with miles? Is it better to get cash back instead–by the time you accrued enough miles, you could have paid for three tickets with the cash back?

Thanks in advance.