While the dev.rubyonrails.org site is down for the time being, I thought I’d post this patch in case the bug bites anyone else. There’s a bug in the Rails ActiveSupport::JSON.decode method (edge rails) that causes parsing to fail if you have alternating quote types in a string. For example:

  {"title": "That's great!"}

will fail because the single quote inside the double quotes is taken to mean “the start of a new single-quoted string” rather than “a character inside the double-quoted string.”

Here is a diff and a ruby patch (require it in your environment.rb file).

Update: Now available as ticket 8425