"Hard assets are always worth money. Real estate, durable machinery, etc. The inflation lets you erase the mortgages on them."
Inflation reduces the value of things priced in the currency, so the 'mortgage' is a financial product and so is worthless.
But try this: who is going to lend money to anyone to buy a home when the mortgage will be worthless in a few months?
Nobody!
The financial/credit system collapses so there are no real long term gains really.