title: how to get subset of activerecord objects after performing .limit()?
body: <p>I want to be able to limit the activerecord objects to 20 being returned, then perform a where() that returns a subset of the limited objects which I currently know only 10 will fulfil the second columns criteria.</p>
  
  <p>e.g. of ideal behaviour:</p>
  
  <pre><code>o = Object.limit(20)
  o.where(column: criteria).count
  =&gt; 10
  </code></pre>
  
  <p>But instead, activerecord still looks for 20 objects that fulfil the where() criteria, but looks outside of the original 20 objects that the limit() would have returned on its own.</p>
  
  <p>How can I get the desired response?</p>