Newb Newb wrote: > Loganathan Ganesan wrote: >> Newb Newb wrote: >>> Hi i using rails paginator class in my application like below >>> >>> @log_pages = Paginator.new(self, @logs.length, items_per_page, page) >>> >>> i would like to know how can check whether the current page is last >>> page or not? >>> >>> Thank u for any information >> >> It would be useful if you give the Paginator class definition.. Is it a >> default >> function available in rails. >> I think You might be using a plugin for pagination. >> >> If it is plugin, find whether any method is available to find the last >> page. > > Thanks for your response Mr.loganathan, > > Actually i m using rails default paginator class.
I would recommend you the following URL to read to get to know about pagination available in rails: http://www.nullislove.com/2007/05/24/pagination-in-rails/ I think that In simple pagination , we can find it. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

