length, size, count の違い
#Ruby
size
と
length
は同じ(エイリアス)
count
はカウント対象を引数に入れる(必須)
ActiveRecord
group(ActiveRecord::QueryMethods)とsize - donghai821の日記