Justdoit: I would correct that to read that real estate can be great as speculation (no more than 10% of your available funds within a diversified portfolio).
Adjusted for inflation over the long-term, real estate does not hold up against other asset classes. That’s what makes this present situation (real estate boom to bust) so amazing: So many people bought into the myth of real estate “investment” properties as the path to wealth and success.