From: ara.t.howard@... Date: 2005-12-13T02:34:58+09:00 Subject: Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways On Mon, 12 Dec 2005, nobuyoshi nakada wrote: > Hi, > > At Sat, 10 Dec 2005 05:07:00 +0900, > Ara.T.Howard wrote in [ruby-core:06864]: >> it seems the original instanciate is lost in this whole method shuffling >> approach. >> >> this code works in 1.8.2 and 1.8.3. unless the bevhaiour of alias_methods has >> changed - hard to beleive - this seems to be a bad bug. i've tried to distill >> this to a simple example with no luck. so i'm afaid there is more to it that >> the above. all you need do to reproduce is setup a rails dir, create a model, >> and run YourModel.find :all. > > Don't you have simpler script which can reproduce it? believe me - i tried for about an hour and gave up... i may have a bit of time this week, but probably not. on the upside it takes less than five minutes to setup to show the bug and one must write only a line or two... even though the entire project is many lines. -a -- =============================================================================== | ara [dot] t [dot] howard [at] noaa [dot] gov | all happiness comes from the desire for others to be happy. all misery | comes from the desire for oneself to be happy. | -- bodhicaryavatara ===============================================================================