Guest User

Untitled

a guest
Mar 23rd, 2018
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. UserID = [
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 3
  8. 2
  9. 2
  10. 3]
  11.  
  12. [
  13. 1@me.com
  14. 2@me.com
  15. 3@me.com
  16. 4@me.com
  17. 5@me.com
  18. 3@me.com
  19. 2@me.com
  20. 2@me.com
  21. 3@me.com]
  22.  
  23. UserInfo.where(:id => UserID).pluck(:email)
  24.  
  25. [
  26. 1@me.com
  27. 2@me.com
  28. 3@me.com
  29. 4@me.com
  30. 5@me.com]
Add Comment
Please, Sign In to add comment