Guest User

Untitled

a guest
Jan 18th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1.  
  2. User.rb (id,email)
  3.  
  4. User.where("email IN (?)", emails)
  5. User Load (1.0ms) SELECT "users".* FROM "users" WHERE (users.deleted_at IS NULL) AND (email IN ('[email protected],, [email protected], [email protected], [email protected]'))
  6. => []
  7.  
  8.  
  9. User.where(:email => emails)
Add Comment
Please, Sign In to add comment