Frederick Cheung wrote: > On Jun 18, 11:10�am, "Adam Ms." <[email protected]> > wrote: > >> Here is the relevant code to duplicate. The interesting thing is, just >> the existance of the empty self.inherited(c) declaration triggers the >> spew. Remove the declaration and no spew. Also, this works fine in 2.2.2 >> (no spew). >> >> Create a fresh 2.3.2, and script/console this: > >> >> class Y < ActiveRecord::Base >> � def self.inherited(c) >> � end >> end >> class T < Y >> end >> T.find(:all) �# Unexpected spew > > You are overwriting the inherited method from ActiveRecord::Base with > your own but without calling the existing implementation > > Fred
DOH! Thanks Fred. I'm going back to my job at McDonalds now. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

