On 20/01/2008, at 7:36 AM, Rick DeNatale wrote: >> So what's weird is that method_missing is adding a method to the >> subclass >> that already exists, just because the method can't be found in the >> superclass. >> >> Am I understanding this right? > > Yes, here's a synopsis of the code from > ActiveRecord::Base#method_missing in ActiveRecord 2.0.2, I've replaced > some code with #... to make it shorter and more obvious.
There's a ticket open on this issue: http://dev.rubyonrails.org/ticket/10831 and it stemmed from: http://dev.rubyonrails.org/changeset/7510 and: http://dev.rubyonrails.org/ticket/9317 I'd like to see the change rolled back as it makes for a pretty nasty behaving method_missing. -- tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
