Guest User

Untitled

a guest
Jun 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. College.all(:joins => {:users => :tutorings}, :select => "colleges.*, COUNT(tutorings.id) AS tutorings_count", :group => "colleges.id")
Add Comment
Please, Sign In to add comment