title: How to delete the parameters?
body: <p>I have used questions method to take the params from view, it takes the params and sends the mail, but I am redirecting to questions again, due to that it goes in loop, now I want to delete the params after delivering the mail. tell me the method to delete the params so I can avoid loop.
  Thanks.</p>
  
  <pre><code>def questions
      if params[:email] 
          @recipient = params[:email]
          @subject = "Question form #{params[:name]}"
          @body = params[:question]
          OrderNotifier.question(@recipient, @subject, @body).deliver
  
          redirect_to "/questions"
      end
  end
  </code></pre>