Comment Comment by Gasparila There's a .size that works for pretty much everything: if the relation isn't loaded then it will do select count(*), but for arrays and loaded associations it does length of an array parent Gasparila 7 years ago