This project is archived and is in readonly mode.

#2378 ✓invalid
Steven Soroka

AssociationProxy#method_missing masks method_missing in models

Reported by Steven Soroka | March 30th, 2009 @ 10:38 PM | in 2.x

This was discussed in #1515, but was not addressed properly imho.

I've come up with a better solution, which goes ahead and sends the message on to the target model, and then catches any NoMethodErrors raised, and improves the error message; which was the original intent.

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>

People watching this ticket

Attachments

Referenced by

Pages