will_paginate
will_paginate copied to clipboard
Pagination library for Rails and other Ruby applications
I have records that are sorted by an attribute called priority. And the priority is the same for two particular records, item A and item B, in my list. When...
Hello, perhaps this is application specific but it seems as though summing on pages greater than one sums the records incorrectly. Although resolving the query to an array with `map`...
Hi there, I have a problem with pagination display. I cant display pagination display on first page. For example: http://www.etkinlikplus.com/static/home on this link there isnt pagination links. But on second...
Not 100% sure of where the issue is, but it seems to come up with has_many associations. If I have a scope in a Foo model (where a user has_many:...
I am using the latest will_paginate version. This is what i have in the view: ``` "innung-pagination", :inner_window => 3, :outer_window => 1, :previous_label => "", :next_label => "") %>...
Hi.. I am using the following gems gem 'will_paginate', '~> 3.0.6' gem 'will_paginate-bootstrap' :inner_window and outer_window properties doesnot showing me any changes in my page.. I have tried like, my...
I wanted to propose that will_paginate include a view helper for SEO optimization, per a recent official Google blog post ``` ``` link: http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html Thanks!
This can be added to spec/finders/active_record_spec.rb ``` ruby it 'returns correct `size` for last page' do users = User.paginate(:page => 3, :per_page => 5) users.total_entries.should == 13 users.total_pages.should == 3...
This works fine: ``` ``` because I specified the route in routes.rb: ``` mount FullcalendarEngine::Engine , at: "/fullcalendar_engine" resources :events, module: 'fullcalendar_engine' , only: [:index, :show] do collection do get...
## Reproduction ``` ruby Model.create_100_entries Model.page(1).per_page(10).count ``` ## Expected ``` => 10 ``` ## Actual ``` => 100 ``` ## Explanation From an ActiveRecord perspective I am holding a `Relation`,...