samhuri.net


By Sami Samhuri

Generate self.down in your Rails migrations

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!