Lease vs Buy?

Is there ever a time when leasing is a better deal than financing? Dealer tried to pitch me on it saying the money factor is better than the finance rates.