title: Getting HTML in the controller from view template
body: <p>Stackoverflow has taught me so much about what proper RESTful, MVC, GET/POST is that I am wondering how people learn to program/engineer in the past before Stackoverflow existed.  ;) </p>
  
  <p>Given that, here is another question on how I can do a (fairly) common procedure in the most appropriate way.</p>
  
  <p>I need to generate a HTML from a view template to be used in a controller action. In that sense, it is kind of like ActiveMailer. </p>
  
  <ol>
  <li>HTML template in a .html.erb file</li>
  <li>Controller action with the params</li>
  <li>Get the HTML from the template to use in the controller</li>
  </ol>
  
  <p>What is the best way to that? Pseudo code will be very much appreciated, thanks!</p>