Skip to content

Instantly share code, notes, and snippets.

@mlitwiniuk
Created January 16, 2012 14:19
Show Gist options
  • Save mlitwiniuk/1621074 to your computer and use it in GitHub Desktop.
Save mlitwiniuk/1621074 to your computer and use it in GitHub Desktop.
YAML in Rails - don't and do
json_object = ActiveSupport::JSON.decode(json_content)
json_object = JSON.load(json_content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment