If you cannot remember it for some reason, try understandig their symbols:
The line trough ideal voltage source tells you that the resistance is zero, and as you can see there is no line trough ideal current source whitch tells you that resistance is infinity...