From: Ola Bini Date: 2008-04-17T21:02:56+09:00 Subject: Re: Rails broken with 1.8.7 bc Symbol#to_proc Akinori MUSHA wrote: > At Thu, 17 Apr 2008 19:13:17 +0900, > Ola Bini wrote: > > > Thank you for the report. We recognize the problem and will be fixing > it shortly. > > http://rubyforge.org/tracker/index.php?func=detail&aid=19551&group_id=426&atid=22040 > > It would be an option to bring the Rails' code in if the right way to > fix the current implementation were to cost too much. > > Not sure if that's a good option. Rails is just the most obvious failure. I would imagine there is loads of Symbol#to_proc code in many places that will fail the same way. > Yes, this behavior reflects the messy argument list handling in Ruby > <=1.8 and we'll have to work it around. > > Yeah, JRuby has the same problem with the native version, actually... Cheers -- Ola Bini (http://ola-bini.blogspot.com) JRuby Core Developer Developer, ThoughtWorks Studios (http://studios.thoughtworks.com) Practical JRuby on Rails (http://apress.com/book/view/9781590598818) "Yields falsehood when quined" yields falsehood when quined.