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

User.where('id IN (1,2,3,4,5)').find_each do |u|
  u.password = 'something'
end