Add ruby snippet btp for polymorphic belongs_to
This commit is contained in:
parent
c4d45b83f1
commit
c89448fcad
@ -589,6 +589,8 @@ snippet bf
|
|||||||
before_filter :${1:method}
|
before_filter :${1:method}
|
||||||
snippet bt
|
snippet bt
|
||||||
belongs_to :${1:association}
|
belongs_to :${1:association}
|
||||||
|
snippet btp
|
||||||
|
belongs_to :${1:association}, :polymorphic => true${2}
|
||||||
snippet crw
|
snippet crw
|
||||||
cattr_accessor :${1:attr_names}
|
cattr_accessor :${1:attr_names}
|
||||||
snippet defcreate
|
snippet defcreate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user