|
|
|
|
|
by jordinl
875 days ago
|
|
Hard to tell what the issue is without actually seeing the code. If I had to guess what they did was: user = User.find_by(email: params[:emails])
params[:emails].each { |email| send_recovery_email(user, email) }
Instead of: user = User.find_by(email: params[:emails])
send_recovery_email(user, user.email) if user
|
|
Edit: Someone has digged it out: https://news.ycombinator.com/item?id=39162126