title: How to check if a number is within range in activerecord?
body: <p>I have a model with a range column</p>
  
  <pre><code>#&lt;JobRequirement id: 1, age: 18...30&gt;
  </code></pre>
  
  <p>How can I get the <code>JobRequirement</code> using an <code>age: 20</code>?</p>
  
  <p>Something like </p>
  
  <pre><code>JobRequirement.where(age: 20)
  </code></pre>