title: Rails Flash Message -> We're sorry , but something went wrong
body: <p>I have an issue with the rails flash message , </p>
  
  <p>until now my application runs great but when I want to use flash messages like this : </p>
  
  <pre><code>redirect_to @post, notice: "Post has been created"
  </code></pre>
  
  <p>or </p>
  
  <pre><code>flash[:notice] = "Post has been created"
  redirect_to @post
  </code></pre>
  
  <p>My application doesnt run anymore and I have : we're sorry but something went wrong </p>
  
  <p>Have tried many things but still the same issue </p>
  
  <p>Thank you for your help </p>