This might be better with the `.all` left off. I believe #all forces a load in Rails 3.2 (if I remember right, it stays a relation in Rails 4). It looks like the places it's used are with `.count` and `.paginate`, so it could save some loading.