title: ERB in command line with render :partial method in html.erb
body: <p>I want to render an HTML-EMail and send it to our customers using some ERB Templates.</p>
  
  <p>The basic code I am using:</p>
  
  <pre><code>ERB.new("newsletter.html.erb").result(binding)
  </code></pre>
  
  <p>doesn't allow me to add partials to the html.erb-File. I would love to move the header and footer to a partial and use the render :partial-Method in that call.</p>
  
  <p>Is this possible? What do I have to add?</p>