title: How to return HTML directly from a Rails controller?
body: <p>One of my model objects has a 'text' column that contains the full HTML of a web page.  </p>
  
  <p>I'd like to write a controller action that simply returns this HTML directly from the controller rather than passing it through the .erb templates like the rest of the actions on the controller.</p>
  
  <p>My first thought was to pull this action into a new controller and make a custom .erb template with an empty layout, and just <code>&lt;%= modelObject.htmlContent %&gt;</code> in the template - but I wondered if there were a better way to do this in Rails. </p>