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.
-- 
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.

Reply via email to