Ruby vind array van gebruikers ID

Is it also possible to use a range of users ID, for example from 100 to 300 ?
Thanks