Forum: Ruby on Rails ActionMailer: uninitialized constant

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7714385c071e185815de39ac3258f814?d=identicon&s=25 mh456 (Guest)
on 2007-04-09 19:00
(Received via mailing list)
Hi!

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

Martin
This topic is locked and can not be replied to.