mislav/will_paginate — Issue #199: Wrong setting of model_count in ViewHelpers
Author: dima4p
Created: 2011-11-13 11:40:57+00:00
State: open

The code in question is
model_count = collection.total_pages > 1 ? 5 : collection.size

I can not catch the idea of setting model_count to five for multypage case, but it will not work properly for the last page in non-English languages, in particular, Russian.