Skip to content

Instantly share code, notes, and snippets.

@eriksk
Created July 11, 2012 08:11
Show Gist options
  • Save eriksk/3088880 to your computer and use it in GitHub Desktop.
Save eriksk/3088880 to your computer and use it in GitHub Desktop.
Using Hash.from_xml outside of rails
# is pretty simple, just require active support
require 'active_support/core_ext/hash'
hash = Hash.from_xml(xml)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment