Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

tigris's latest activity

Tuesday, September 30 2008
867 undefined method `length' for Enumerable when calling truncate method was updated in Ruby on Rails
  • tigris
    tigris commented at 7:35 AM

    Edit: looks fixed in current rails

    http://github.com/rails/rails/co...

    09/21/08: Change all calls to String#chars to String#mb_chars.

  • tigris
    tigris commented at 7:25 AM

    Gregor,

    The issue is that 1.8.7 ruby introduced it's own chars() method onto the String object, overwriting ActiveSupport's attempts to patch it's own chars() m...