pretty-printing (or otherwise) a hash in a view template

Give to_yaml a shot. It's a very readable way to dump ruby objects.