Top "Will-paginate" questions

Ruby pagination library

Rails: Showing 10 or 20 or 50 results per page with will_paginate how to?

me again... I need show 10 or 20 or 50 results number of results per page with a select options in my list …

ruby-on-rails will-paginate
will_paginate find out if I'm on the last page

I'm trying to use will paginate with ajax, but I don't show the will_paginate buttons... instead I use a …

ruby-on-rails ruby ajax will-paginate
Limit number of pages in will_paginate

So, when using Sphinx searches are limited to 1000 results. But, if there are more than 1000 results pagination links generated by …

ruby-on-rails ruby pagination will-paginate
will_paginate -error-undefined method `total_pages'

I am using will_paginate "2.3.15" for my rails app in my units_controller.rb def index @units = Unit.paginate(:all ,:…

ruby-on-rails will-paginate
Is it possible to combine will_paginate with find_by_sql?

In my Rails application I want to use the will_paginate gem to paginate on my SQL query. Is that …

ruby-on-rails will-paginate find-by-sql
Using will_paginate without :total_entries to improve a lengthy query

I have a current implementation of will_paginate that uses the paginate_by_sql method to build the collection to …

ruby-on-rails ruby pagination will-paginate