app/mailers/user_mailer.rb
# Make sure the user gave us a valid email.
Make sure the user gave us a valid email.
Make sure the user gave us a valid email .
def welcome_email(user)
    @user      = user
    @user_name = user.name
    @the_url   = reset_url(user)
    mail(to: @user.email, subject: 'Welcome to The FarmBot Web App!')
  end
def welcome_email ( user ) @user = user @user_name = user . name @the_url = reset_url ( user ) mail ( to : @user . email , subject : 'Welcome to The FarmBot Web App!' ) end
Make sure the user gave us a valid email.
Make sure the user gave us a valid email .
user