title: How do I get my Flash Message to show using bootstrap?
body: <p>I have already imported bootstrap and I'm using the 'bootstrap-sass' gem and devise gem. The problem is My rails app shows the the right message like if am signed in and i try to sign up it shows the message 'You are already signed in.' but without the color around the message like yellow or red or any color.</p>
  
  <pre><code> &lt;div class="container"&gt;
      &lt;% flash.each do |name, msg| %&gt;
      &lt;%= content_tag(:div, msg, class: "alert alert-#{name}") %&gt;
      &lt;% end %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When I inspect the element in chrome after it rendered I get 'class="alert alert-alert"'
  In my code above the <code>"alert alert-#{name}"</code> the name is the key which should change to info, success, or warning or danger. but it keeps changing to alert which bootstrap doesn't have. How can i fix this?</p>