As a Rails guy, I always perform my table pagination using mislav’s will_paginate gem. However, when I use it combined with Twitter Bootstrap, I get an undesired result:
There is a very simple fix for this which doesn’t require using an additional gem.
Refresh your page and the pagination issues should be resolved:
Hope this helps!
Update (Dec 4, 2012):
I recently attempted to use the will_paginate gem with the latest version of Bootstrap (v2.2.1) and the pagination no longer
rendered using the <li>..</li> elements. To fix this I added the following into an initializer: