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
Use splash operator:
ids = [1, 2, 3, 4] users = User.find(*ids)
Note that it will raise an exception if it fails to find any of the users.