title: How to perform both Render and Redirect for a given Action in rails
body: <p>i m working on an app in rails that requires the following :</p>
  
  <ol>
  <li>Clicking on a button should first download a pdf file (render part) and </li>
  <li>Then redirect to a show page (redirect_to part)</li>
  </ol>
  
  <p>I 've searched the web and found that it is not possible to render and redirect at the same time for a given action , is there any ways around this issue ?</p>