Skip to content

Instantly share code, notes, and snippets.

@dcrosby42
Created January 8, 2010 16:44
Show Gist options
  • Save dcrosby42/272172 to your computer and use it in GitHub Desktop.
Save dcrosby42/272172 to your computer and use it in GitHub Desktop.
class String
def from_json
ActiveSupport::JSON.decode(self)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment