title: Saving Rails output into a variable
body: <p>Is it possible to save the output of a block of Rails code into a variable so I can output it in a number of places later on inside a view?</p>
  
  <p>I realise layouts etc have yield, but I want to do this in a view (I'm generating a mail-merge-esque thing that has calculated elements that are the same in each letter)</p>