I have a partial, _flash.html.haml
_flash.html.haml
- flash.each do |type, value| .flash{ :class => type.to_s } = value
Which I\'m re
Because your partial is named "_flash", you should have the :object local to specify variable flash inside the partial.
Change your partial name and you will be able to use flash inside, for example:
= render "show_flash_names"