title: Why flash message won't disappear?
body: <p>I am doing some exception handling in my controller, when there is an exception thrown in :create action, I will render to the :new action and show a flash message.</p>
  
  <p>Everything works fine, I can see the flash message when exception caught, but when I <strong>redirect to(handly click)</strong> other page, the flash message <strong>still here</strong>. Then I redirect to another page(<strong>the second handly click)</strong>, the message could disappear.</p>
  
  <p>Anyone who knows what is the reason?</p>
  
  <p>My controller code:</p>
  
  <pre><code>class MessagesController &lt; ApplicationController
    rescue_from Exception, :with =&gt; :render_new
  
    def new
    end
  
    def create
    end
  
  private
    def render_new
      flash[:alert] = t("uploading_error")
      render :action =&gt; :new
    end
  end
  </code></pre>
  
  <p>My layout code (Haml):</p>
  
  <pre><code>%body
    #content
      - unless flash[:alert].blank?
        #alert= flash[:alert]
  </code></pre>