title: How to generate a random number between a and b in Ruby?
body: <p>To generate a random number between 3 and 10, for example, I use: <code>rand(8) + 3</code></p>
  
  <p>Is there a nicer way to do this (something like <code>rand(3, 10)</code>) ?</p>