scytherswings said about 7 years ago on Counter Cache Associations :

I didn't realize that `.count` was so inefficient, looks like I have some optimization to do. Thanks for the information!