title: How should I disable some of my devise flash messages in rails
body: <p>How should I disable some of my devise flash messages in rails? I have customized all devise flash messages in config/locales/devise.en.yml file. I don't want all of them. Evenafter I  comment or delete some of those I find those appear in the UI. For example </p>
  
  <pre><code>en:
    devise:
      confirmations:
        confirmed: "Your account was successfully confirmed."
        # send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
        send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes."
  </code></pre>
  
  <p>This I added in layouts/application.html.erb</p>
  
  <pre><code>      &lt;% if notice %&gt;
          &lt;p class="alert alert-notice" style="color:#c09853;"&gt;&lt;%= notice %&gt;&lt;/p--&gt;
        &lt;% end %&gt;
        &lt;% if alert %&gt;
          &lt;p class="alert alert-error" style="color:#b94a48;"&gt;&lt;%= alert %&gt;&lt;/p&gt;
        &lt;% end %&gt;
  </code></pre>
  
  <p>I have commented send_instruction. But when I run restart server, it still appears in UI. What is the possible solution? Thanks.</p>