rails/rails — pull request #5829 by subelsky (2012-04-13 01:55:31+00:00)
Title: Add an --editor option to ActiveRecord migration generator

the first thing Rails devs do after running a migration is usually open that file in an editor. I added an --editor option here that does this for you automatically. I didn't see an easy way to test this (do the generators have their own tests?) but if there's a place where that should go, I'll gladly add them to this patch.