Skip to content

Instantly share code, notes, and snippets.

@zhhz
Created December 18, 2008 17:37
Show Gist options
  • Save zhhz/37566 to your computer and use it in GitHub Desktop.
Save zhhz/37566 to your computer and use it in GitHub Desktop.
# dm 0.9.8 breaks YAML.dump
zooo = Zoo.all
File.open('zoo.yaml', 'w'){|f| YAML.dump(zooo, f)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment