I currently have a collection of items and have been utilizing the will_paginate
gem. However, I am interested in implementing a "load more..." feature at the end of the list. Is there a straightforward way to achieve this with will_paginate
, or should I explore alternative methods?
Based on my understanding, it may be a more efficient approach as it eliminates the need for a SQL count query on the database records. Additionally, it seems unnecessary to access details beyond the initial pages when dealing with numerous pages.