Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 374 Bytes
<snippet>
<content><![CDATA[validates_inclusion_of :${1:attribute}${2:, in: ${3:%w( ${4:mov avi} )}, on: :${5:create}, message: "${6:extension %s is not included in the list}"}, if: proc { |obj| ${7:obj.condition?} }}]]></content>
<tabTrigger>viif</tabTrigger>
<scope>source.ruby.rails</scope>
<description>validates_inclusion_of if</description>
</snippet>