gregbell/active_admin — pull request #1236 by comboy (2012-04-16 10:18:43+00:00)
Title: TypeError exception for collections with GROUP BY

When GROUP BY is used, ActiveRecord is returning Hash instead of FIxnum for .size and .count methods on collection.

This is causing an exception, similar issue was fixed in #897, but there it did not include fix for collections that have more than 1 page ;)

Fix and and spec included.