mislav/will_paginate — pull request #207 by bradseefeld (2011-12-02 16:52:41+00:00)
Title: Fix bug where page_entries_info does render correctly with a group by clause

When using ActiveRecordModel.paginate(:group => "my_group_field", :page => 1), the page_entries_info helper renders incorrectly: Displaying {1 => 2} models. This is because collection.size returns the size as a hash. The length of the hash is the value we want to show in the page_entries_info.