amatsuda/kaminari — pull request #462 by joseluistorres (2013-11-09 23:50:35+00:00)
Title: removing the count(*) when no column assigned or :all #240

Hi @zzak @amatsuda this is a silly change but it will make a huge difference to not do an extra select count(*) when is not required. This change can help us to solve this issue https://github.com/gregbell/active_admin/issues/2638 in Active Admin gem cc @seanlinsley