Consultation on how to obtain user information

 User.find_by_sql("select * from users where id in (#{user_ids.join(',')})")