samhuri.net/public/posts/2006/03/generate-selfdown-in-your-rails-migrations.html.md

295 B

Scott wrote a really cool program that will scan self.up and then consult db/schema.rb to automatically fill in self.down for you. Brilliant!