So I have an array of user ids. Is there a way in rails console to query all of these user\'s with the array
something like
ids = [1, 2, 3, 4] users
you can use
Users.where({ id: [1,2,3 ,4]}) # SELECT * FROM users WHERE id IN (1,2,3,4)