From: Michael Morin Date: 2010-08-30T09:50:18+09:00 Subject: Re: Broken alias behavior in Ruby 1.9.2? On 8/29/2010 8:04 PM, Tron Fu wrote: > Thank you for your reply. However, your suggestion resulted in > SystemStackError: stack level too deep > > I'm guessing that it is not working in 1.9.2 because Base64 is no longer > included with 1.9 and there is something odd going on with the > ActiveSupport's version of it. > > Tron As far as I can tell, 1.9.2 ships with Base64. I suspect you're having trouble because of Base64's use of module_function. This creates copies of the original methods, so it will be difficult to overload like this. -- Michael Morin Guide to Ruby http://ruby.about.com/ Become an About.com Guide: beaguide.about.com About.com is part of the New York Times Company