Skip to content

Instantly share code, notes, and snippets.

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