title: limit the total number of results a activerecord query returns?
body: <p>Is it possible to hard limit the number of results of pages from activerecord?</p>
  
  <p>Ill know limit but using the endless scrolling jquery plugin it just only limits the number of records per page .limit(10) = 10 per page. I need to limit the total number of records so a certain user cannot get more than the first 100 results for example.</p>
  
  <p>Is this possible and how to do it?</p>