Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (6 sloc) 0.361 kB
<snippet>
<content><![CDATA[validates_exclusion_of :${1:attribute}${2:, in: ${3:%w( ${4:mov avi} )}, on: :${5:create}, message: "${6:extension %s is not allowed}"}, if: proc { |obj| ${7:obj.condition?} }}]]></content>
<tabTrigger>veif</tabTrigger>
<scope>source.ruby.rails</scope>
<description>validates_exclusion_of if</description>
</snippet>
Jump to Line
Something went wrong with that request. Please try again.