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