title: Rails Flash doesn't behave as what the Rails Guide says
body: <p>According to the official <a href="http://guides.rubyonrails.org/action_controller_overview.html#the-flash" rel="nofollow noreferrer">flash section on Rails Guide</a>:</p>
  <blockquote>
  <p><strong>The Flash</strong></p>
  <p>The flash is a special part of the session which is cleared with each request. This means that values stored there will only be available in the next request, which is useful for passing error messages etc.</p>
  <p>...</p>
  <p><strong>flash.now</strong></p>
  <p>By default, adding values to the flash will make them available to the next request, but sometimes you may want to access those values in the same request.</p>
  </blockquote>
  <p>However, after doing some test, I found that <code>flash</code> is available in the current &amp; next request. And <code>flash.now</code> is <strong>only</strong> available in the current request.</p>
  <p>Is the Rails Guide incorrect? Or maybe I miss something?</p>
  <pre><code># Controller action
  def test_flash
    flash[:notice] = &quot;This is a flash msg.&quot;
  end
  
  # test_flash.html.erb
  &lt;% flash.each do |name, msg| -%&gt;
    &lt;%= content_tag :div, msg, class: name %&gt;
  &lt;% end -%&gt;
  </code></pre>