From c89448fcada3a9bdca2ac3f22c7ac9491cce14b4 Mon Sep 17 00:00:00 2001 From: Iuri Fernandes Date: Thu, 2 May 2013 10:09:31 -0300 Subject: [PATCH] Add ruby snippet btp for polymorphic belongs_to --- snippets/ruby.snippets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index fdf479a..2bcc9de 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -589,6 +589,8 @@ snippet bf before_filter :${1:method} snippet bt belongs_to :${1:association} +snippet btp + belongs_to :${1:association}, :polymorphic => true${2} snippet crw cattr_accessor :${1:attr_names} snippet defcreate