title: How to specify limit and offset in array in rails?
body: <p>I have 3 tables <code>PostText</code>, <code>PostImage</code> and <code>PostVideo</code>.
  Now I am combining data from all the above three table into a single array called <code>userposts</code>.</p>
  
  <p>Now from <code>userposts</code> I want to access only 10 records starting with offset 15.</p>
  
  <p>How can I do that?</p>
  
  <p>I tried out <code>userposts.first(10)</code>. It gives me first 10 records but I want 10 records starting from offset-15.</p>
  
  <p>thanks in advance.</p>