On 10/06/08 04:57, akira yamada wrote:
>> After upgrading from ruby1.8_1.8.6.114-2 to ruby1.8_1.8.7-2, I noticed a 
>> rails
>> webapp called "Tracks" v1.6, stopped working.
> 
> Ruby 1.8.7 has String#chars. It returns an Enumerator object but
> Rails 2.0.2 expects an ActiveSupport::Multibyte::Chars object.
> 
> You can avoid this conflict by putting the following code in
> config/initializers/ directory.
<snip>
> Note: activesupport/lib/active_support/core_ext/string/unicode.rb
> of Rails 2.1.0 removes "chars" method from String class of Ruby 1.8.7.
> 

Right, thank you, this does the trick.

I guess Debian's rails will need to upgrade to 2.1.0 (eventually), and I
will report this to Tracks upstream.

Thank you,

Mourad DC



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to