Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- User.rb (id,email)
- User.where("email IN (?)", emails)
- 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]'))
- => []
- User.where(:email => emails)
Add Comment
Please, Sign In to add comment