Tip: Rails, Bootstrap and will_paginate

If you’re using Ruby on Rails, you’ll likely use the will_paginate plugin. If you use Twitter’s Bootstrap CSS framework as well, you’ll notice that the pagination is all messed up. This gist fixes it:

Red hardcover book with flipping pages photo by Horia Varlan licensed under Creative Commons.