Based on how hard Luffy is taking Ace's demise, it actually makes me think he has never lost anybody important before. Although there's always the chance he's taking it partially so hard exactly because he first lost Sabo and now Ace.

But then again, Luffy is an idiot, which is probably a sufficient explanation all by itself.