Repository navigation
How To: Mass password reset and email notification
Eugene Burmakin edited this page Oct 6, 2016
·
11 revisions
# path: lib/tasks/devise.rake namespace :devise do desc "Mass password reset and send email instructions" task mass_password_reset: :environment do User.all.each do |user| user.send_reset_password_instructions end end end