2009-11-19 17:09:01 +00:00

8 lines
275 B
Plaintext

# -*- mode: snippet -*-
# key: t.
# contributor: Translated from TextMate Snippet
# name: t.rename (tre)
# condition: (and (yas/rails-migration-p) (or (yas/rails-in-create-table) (yas/rails-in-change-table-p)))
# --
t.rename(:${1:old_column_name}, :${2:new_column_name})
t.$0