2009-11-18 17:11:08 +00:00

8 lines
240 B
Plaintext

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