title: :alert does not work; :notice does
body: <p>For some reason my <code>:alert</code> does not work, whereas <code>:notice</code> works just fine.</p>
  
  <pre><code>&lt;% if notice %&gt;
      &lt;p id="notice" &gt;&lt;%= notice %&gt;&lt;/p&gt; 
  &lt;% elseif alert %&gt;
      &lt;p id="alert" &gt;&lt;%= alert %&gt;&lt;/p&gt; 
  &lt;% end %&gt;
  &lt;%= yield %&gt;
  </code></pre>
  
  <p>Anyone know why <code>:alert</code> is not working? I'm using <strong>Rails 3.1.0.RC5</strong>
  <br><br><br>
  <strong>EDIT:</strong> Found a more effective method thanks to <strong>Reuben Mallaby</strong> for display all notices and alerts.</p>
  
  <pre><code>&lt;%- flash.each do |k, v| %&gt;
      &lt;div id="&lt;%= k %&gt;"&gt;&lt;%= v %&gt;&lt;/div&gt;
  &lt;% end %&gt; 
  &lt;%= yield %&gt;
  </code></pre>