8 lines
288 B
Plaintext

# -*- mode: snippet -*-
# key: t.
# contributor: Translated from TextMate Snippet
# name: t.references (tcr)
## condition: "meta.rails.migration.create_table, meta.rails.migration.change_table"
# --
t.references :${1:taggable}${2:, :polymorphic => ${3:{ :default => '${4:Photo}' \}}}
t.$0