Fixed pluralization bug in page_entries_info
bug fix: total_entries was returning the wrong value for DISTINCT ON …
…queries. This fix changes count to length when these queries come up.
This fixes it only for the English language, so it defies the purpose of having i18n in the first place. Also, no tests.
Is there a work around for now?
Added entries for models in config/locales/en.yml as will_paginate ge…
…m does not pluralize models correctly in page_entries_info - see mislav/will_paginate#208.