samhuri.net/public/posts/2006.03.03-generate-selfdown-in-your-rails-migrations.md

457 B

Title: Generate self.down in your Rails migrations Date: March 3, 2006 Timestamp: 1141450680 Author: sjs Tags: rails, textmate, migrations, rails, textmate

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!