I want to call the mailer from inside my model, but it gives me this
error:
uninitialized constant User::PasswordResetMailer
So I’m assuming that I have to include it somehow, but I’m not sure
how to do this. I’ve tried searching Google but I’m not getting any
helpful results.
I want to call the mailer from inside my model, but it gives me this
error:
uninitialized constant User::PasswordResetMailer
So I’m assuming that I have to include it somehow, but I’m not sure
how to do this. I’ve tried searching Google but I’m not getting any
helpful results.
It would help if you post the pertinent area of your model.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.