title: How does one minify a javascript partial within a rails erb file?
body: <p>The application is not using the standard asset pipeline due to having some of the javascript being rendered dynamically by controller variables. </p>
  
  <p>I'd like to minify the js before appending/inline-ing it into the html file that it would be served out from. </p>
  
  <p>I've tried <code>&lt;render :partial =&gt; 'javascript.js'&gt;</code> which is the standard way to render a partial in an erb.</p>
  
  <p>Ideally i'd just be able to do  <code>&lt;render :partial =&gt; Minify.new.minify('javascript.js')&gt;</code> to render out a minified version of the js</p>