title: Ruby: Generate random integers that add up to another number
body: <p>I'm trying to randomly generate two integers that add up to a previously selected integer.</p>
  
  <p>For instance, if I have a previously selected value of <code>12</code>, I need a method that could generate <code>[6,6]</code>, or <code>[11,1]</code>, etc.</p>