Using the paginator helper, is there a way to determine what page an item in the collection is on? Thanks in advance for your help!
On 07/02/06, Jason Tuttle <jason@gothamcitymacs.com> wrote:> Using the paginator helper, is there a way to determine what page an > item in the collection is on?params[''page''] -- Cheers, Hasan Diwan <hasan.diwan@gmail.com>
On 2/8/06, Hasan Diwan <hasan.diwan@gmail.com> wrote:> On 07/02/06, Jason Tuttle <jason@gothamcitymacs.com> wrote: > > Using the paginator helper, is there a way to determine what page an > > item in the collection is on? > params[''page'']I don''t think he was asking about what page is currently active. Rather, for a particular item in my paginated list, what page would it appear on assuming that the data remains constant between now and then?