SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ```
  2. generated_password = Devise.friendly_token.first(8)
  3. user = User.create!(email: email, password: generated_password)
  4.  
  5. RegistrationMailer.welcome(user, generated_password).deliver
  6. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top