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

8 lines
276 B
Plaintext

# -*- mode: snippet -*-
# key: t.
# contributor: Translated from TextMate Snippet
# name: t.references (tcr)
# condition: (and (yas/rails-migration-p) (yas/rails-in-create-table-p))
# --
t.references :${1:taggable}${2:, :polymorphic => ${3:{ :default => '${4:Photo}' \}}}
t.$0