From: Tron Fu Date: 2010-08-30T09:04:23+09:00 Subject: Re: Broken alias behavior in Ruby 1.9.2? 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 Thomas Sawyer wrote: > On Aug 29, 5:25�pm, Tron Fu wrote: >> � alias :old_encode64 :encode64 >> end > Your alias is only creating an instance method, yet you are using it > as a class method. > > To be sure I would need to look at the original code, but presumely > > module Base64 > class << self > � alias :old_encode64 :encode64 > end > end -- Posted via http://www.ruby-forum.com/.