Joined December 2012
·

Jonathan Mui

Co-founder & CTO at Reesio
·
San Francisco, CA
·
·

You have a typo in the group clause. Should be...

items = Item.joins(:users).group("items.id").select("items.*, count(users.id) as user_count")

Achievements
1 Karma
0 Total ProTip Views
Interests & Skills