Hello,
Because of this thread I've been able to do something similar for inserting migrations into self.down in a Rails project. It's documented in this post -> http://sami.samhuri.net/articles/ 2006/02/21/textmate-insert-text-into-self-down . Many thanks! TextMate is awesome.