app/mailers/user_mailer.rb
def new_user_password_instructions_csv(user, dept)
    @edit_new_user_password_url = edit_password_reset_url(user.perishable_token)
    mail(to: user.email, from: AppConfig.first.mailer_address,
      subject: "Password Creation Instructions", date: Time.now)
  end
#For use when users are imported from csv
For use when users are imported from csv
For use when users are imported from csv
def new_user_password_instructions_csv(user, dept)
    @edit_new_user_password_url = edit_password_reset_url(user.perishable_token)
    mail(to: user.email, from: AppConfig.first.mailer_address,
      subject: "Password Creation Instructions", date: Time.now)
  end
def new_user_password_instructions_csv ( user , dept ) @edit_new_user_password_url = edit_password_reset_url ( user . perishable_token ) mail ( to : user . email , from : AppConfig . first . mailer_address , subject : "Password Creation Instructions" , date : Time . now ) end
For use when users are imported from csv
For use when users are imported from csv
user
dept