Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Actionmailer methods should not be redefined

#6507

Here's my mailer model:

class Notifier < ActionMailer::Base
def message

...

end end

The problem with this code is that it will override ActionMailer's message private instance variables, causing all kind of weird and hard to track errors. I understand that this happens because we are subclassing ActionMailer::Base, but there should at least be a warning or something.

Reported by Oscar Del Ben · March 2nd, 2011 @ 02:24 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

No comments yet.