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.

Will Sargent's latest activity

Tuesday, April 27 2010
4484 json encoding systax error was updated in Ruby on Rails
  • Will Sargent
    Will Sargent commented at 8:07 AM

    It should be:

    string = string.encode(::Encoding::UTF_8, :undef => :replace).force_encoding(::Encoding::BINARY)
    
  • Will Sargent
    Will Sargent commented at 8:02 AM

    You can reproduce this bug by typing 'rails generate --help' at the console.

    /opt/local/lib/ruby/gems/1.8/gems/polyglot-0.3.1/lib/polyglot.rb:64:in polyglot_or...