title: Rails 3 / Controller / Flash hash
body: <p>I want to be able to pass multiple messages to the flash hash, inside of my controller, and have them display nicely together, e.g., in a bulleted list.  The way I've devised to do this is to create a helper function in my Application Controller, which formats an array into a bulleted list, which I then pass to, in my case, flash[:success].  This is clearly not the Rails Way because, i.a., my bulleted list gets encoded.  That is, instead of getting:</p>
  
  <ul>
  <li>Message 1</li>
  <li>Message 2</li>
  </ul>
  
  <p>I get:</p>
  
  <p>&lt;ul&gt;&lt;li&gt;Message 1&lt;/li&gt;&lt;li&gt;Message 2&lt;/li&gt;&lt;/ul&gt;</p>
  
  <p>I'm sure I could figure out a way to raw() the output, but isn't there a simple way to get something like this working?  Perhaps there's an option to pass to flash[]?  Something else?</p>