Hello,
I have problem with ActionMailer, when I try to execute action:
rake send_email
I get a error:
Try adding layout
class UserMailer < ActionMailer::Base default from: "from@example.com" layout "mailer" def mailer(user) @user = user mail(to: @user.email, subject: 'Test') end end