On 1/17/08, Michael Koziarski <[EMAIL PROTECTED]> wrote: > > > In Rails 2.0 the method_missing method dynamically adds a find_by_ip > > method, which overwrites the hard coded one (not I said overwrites > > rather than overrides). So the next time, his method is no longer > > there to do the parameter conversion thing. > > So is it defining the find_by_ip method on AR::Base or overwriting the > original definition? In either case it's a bug but the fix is > different.
It has to be overwriting the definition in his subclass of AR::Base, otherwise he wouldn't have seen the problem. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
