http://dev.rubyonrails.org/ticket/2597 I have uploaded a patch that enhances/refactors Model.count (and couple of other things) so that paginate works, as advertised, with named associations (and eager loading). This patch works great for me. It passes all the AR unit tests in MySQL, but a couple fail in sqlite. Please read the comments I posted in the ticket about the patch I uploaded and let me know what you all think. Thanks, Jeremy _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core