Skip to content

Instantly share code, notes, and snippets.

@herestomwiththeweather
Created May 17, 2010 06:35
Show Gist options
  • Save herestomwiththeweather/403466 to your computer and use it in GitHub Desktop.
Save herestomwiththeweather/403466 to your computer and use it in GitHub Desktop.
Exchange.all.each {|e| e.destroy if e.group}
Account.all.each {|a| a.destroy if a.group}
Group.all.each {|g| g.adhoc_currency = false; g.unit = nil; g.save!}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment