Even if you pass it as :object => @tag_cloud, it still iterates over
the elements of the @tag_cloud array. The partials were expecting the
array and were getting each successive hash, so they were breaking.
Fixed that by passing the collection in the :locals hash.

Also replaced the deprecated '-' block syntax with Haml's new one
('=').