Hey Luke...
Thank you so much for your help
That solution worked like a charm
Thanks again...
Luke Pearce wrote:
Use ruby script/console in a command prompt to try things out...
c = Company.find(:all, :page = {:current = 1, :size = 1}, :limit = 1)
= #PagingEnumerator:0x5d29880
Use ruby script/console in a command prompt to try things out...
c = Company.find(:all, :page = {:current = 1, :size = 1}, :limit = 1)
= #PagingEnumerator:0x5d29880 @page_count=1, @first_page=1, @size=1,
@page=1, @page_size
=1, @callback=#Proc:0x06184...@c:/../lib/paginating_find.rb:82,
2 matches
Mail list logo