Ruby מצא מערך של מזהי משתמשים

User.where might be what you want and then the postgres syntax for finding stuff that matches an array. I can never quite remember.