Repository navigation
How To: Mass password reset and email notification
Zach Boatrite edited this page Aug 18, 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 user end end end