Forum: Ruby on Rails ActionMailer: uninitialized constant

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
mh456 (Guest)
on 2007-04-09 21:00
(Received via mailing list)

I have two Observers that call the same ActionMailer. With one
Observer, everything works as expected. With the other one, I always
get an error: "uninitialized constant MyObserver::MyMailer". The
calling line is identical in both observers. Do I have to "register"
the ActionMailer somewhere?

Thanks a lot

This topic is locked and can not be replied to.