This project is archived and is in readonly mode.

#1330 ✓resolved
Joel Chippindale

Fix for ActionMailer::Base.method_missing so that it raises NoMethodError when no method is found

Reported by Joel Chippindale | November 5th, 2008 @ 09:57 AM | in 2.x

This was originally reported in #1318

ActionMailer::Base's method_messing method raises an exception

undefined method []' for nil:NilClass"

when it does match any method.

This bug was introduced in commit 3cf773b187e803e16b8237e5923fa4c1139cde8a.

The attached patch resolves this.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages