author avatar

manu

Fri Feb 02 2018

Difference between usage of size/count/length when dealing with ActiveRecord::Relations and got rid of many COUNT(*) queries. Good article on the same - http://work.stevegrossi.com/2015/04/25/how-to-count-with-activerecord/