# Paged partial collection AJAX

**URL:** <https://www.ruby-forum.com/t/paged-partial-collection-ajax/178698>\
**Category:** Rails\
**Created:** [November 9, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/paged-partial-collection-ajax/178698 "2009-11-09T19:08:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_LSTaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ee7513/32.png) [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Post date:** [November 9, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/paged-partial-collection-ajax/178698/1 "2009-11-09T19:08:27Z")

</div>

I have several places in my app where there is a collection with  
hundreds of  
items to render. Paging in the usual sense (i.e.,  
mislav-will\_pagination)  
does not make sense. I want to render them all, but the long response  
time  
(often greater than 7 seconds) is not user-friendly. It occurs to me  
that I  
can batch them, sending a batch with a bit of Javascript at the bottom  
to pull  
in the next batch, repeat until done. Hopefully this will render each  
batch  
in the browser as received making progress visible to the user. Has  
anything  
like this already been written?

TIA,  
Jeffrey
