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.

Shannon -jj Behrens's latest activity

Friday, December 11 2009
3345 to_json does not escape unicode characters was updated in Ruby on Rails
  • Shannon -jj Behrens
    Shannon -jj Behrens commented at 1:36 AM

    Ok, wow, let me try that again:

    ActiveSupport::JSON.decode("[1]") produces [1] # A list.

    ActiveSupport::JSON.decode("[1]") produces "[1]" # A string.

    The seco...

  • Shannon -jj Behrens
    Shannon -jj Behrens commented at 1:34 AM

    I think I stumbled across the same issue.

    $ ./script/console Loading development environment (Rails 2.3.5)

    ActiveSupport::JSON.decode("[1]") => [1] ActiveSupp...